HttpWebRequest - set contentType for Request

May 20, 2013 at 4:14 PM
It seems a very simple change to enable the ContentType property for ActionType=GetResponse, what do you think?

Cheers,
Graeme.
Coordinator
May 20, 2013 at 8:59 PM
Indeed, would you expect the default to be null or

this.ContentType = "application/x-www-form-urlencoded";
May 20, 2013 at 9:35 PM
Hi Mike,
The content type would default to null, so I guess leaving it at null wouldn't break existing users.

regards,
Graeme.
Coordinator
May 23, 2013 at 7:54 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Coordinator
May 23, 2013 at 8:03 AM
Marked as answer by mikeFourie on 10/9/2013 at 3:16 PM