"HEAD" HTTP request

Upload core product.
Post Reply
vlad
Posts: 82
Joined: Sun Jan 04, 2009 6:38 pm

"HEAD" HTTP request

Post by vlad »

Is it possible to disable the HEAD HTTP request the applet is performing before POST-ing the file data, while not using file resuming or CRC verification?

This request is also performed every time a chunk of file is uploaded. I don't see any reason why it should do that.

Thanks,

Vlad

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: "HEAD" HTTP request

Post by support »

HEAD is issued if "resume" or "overwrite" or "checksum" is enabled. Do you have one of these ?

vlad
Posts: 82
Joined: Sun Jan 04, 2009 6:38 pm

Re: "HEAD" HTTP request

Post by vlad »

I'm not using any of those parameters.

After further investigation I found out that a HEAD request is also sent when "authentication" is "auto". It seems that you can choose between a HEAD or a GET request trough the use of undocumented parameter "httpauthmethod". Some people might find that useful.
It is smart to use a different (smaller) request to check for possible authentication, instead of actually sending the file. However, this should happen only once per entire session, or at most once per file, not chunk. I don't think there's a situation where the target "url" (or the server authentication) changes between file uploads, though.

P.S. Please let me know if an official change will be made in this regard, or I should just proceed with customizing my applet.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: "HEAD" HTTP request

Post by support »

For now we don't plan to modify this behavior.

Post Reply