Before someone says to just use a Get request with WebClient -- I'm uploading files so the content will not fit in a
querystring, therefore I'm using UploadStringAsync to send the post data. I'm experiencing a few oddities though:
1. My UploadFile.aspx page is not receiving any post variables.
2.
No progress notification. UploadProgressChanged fires only when the
entire request has been sent, so just before UploadStringCompleted
fires. This obviously doesn't get me anything.
I should
mention that I had been previously using HttpWebRequest to do this, and
everything worked great except for the fact that I couldn't get any
progress notification. I'm thinking about switching back if I can't get
this working right...
I'm assuming both of these problems are because I can't figure out how to set the headers. I want to set the following:
Content-Type: application/x-www-form-urlencoded
Content- ...
Go to the complete details ...