On Wed, 18 Feb 2009, Micah Cowan wrote:
Well this is no big deal, I mean, I could probably stick the username and
password at the beginning of the file. The crux of the matter here is if it
would accept a file full of CR/LF chars.... or does it also expect the file
to have the whole string on a single line??
I believe all CR/LF have to be percent-encoded, everything on one line. It
probably depends somewhat on the server.
Just note that very very few "file uploads" over HTTP are done that way. The
typical way is to do multipart formposts (RFC1867), and they don't use
percent-encoding at all...
--
/ daniel.haxx.se