WP7 HttpWebRequest how will the refer field in the HTTP header is set to null..

I use WP7 HttpWebRequest, discovered request refer field in the HTTP header is file:///Applications/Install... , how do I set the refer field is empty. .

Started by Fabian at February 03, 2016 - 10:17 PM

Try by modifying the header

Posted by Bowen at February 18, 2016 - 10:24 PM

The WP7 HttpWebRequest did not modify the header field of the API

Posted by Fabian at February 24, 2016 - 10:28 PM

http://apps.hi.baidu.com/share/detail/2107648

Posted by Bowen at March 08, 2016 - 11:22 PM

WP7 HttpWebRequest is castrated, can not modify the header related

Posted by Aubrey at March 10, 2016 - 11:37 PM

Feel shy, just tune is can modify the header, but no direct method similar to Headers.Add, by modifying the headers array.

Posted by Aubrey at March 17, 2016 - 12:04 AM

I also tried, can be ADD, but can not be changed.

Posted by Reuben at December 04, 2016 - 8:12 PM

WP7 HttpWebRequest.Headers is not Add, I use 7.1 mango SDK, do not know Tango has improved, in the desktop version of Headers is Add, but the direct Add with referer the header will cause the parameter error anomaly before, directly modify the collection can be modified in the referer WP7 under test, server log has seen

Posted by Aubrey at December 07, 2016 - 8:24 PM

Header AllKeys is read-only, and can customize the settings of Header method

Posted by Lauren at December 19, 2016 - 8:40 PM

Host and ref fields of the Header are not modified!!! A long time ago to do when the Request Forgery will know

Posted by Juliana at December 20, 2016 - 9:16 PM

Modify the Referer I use the following code

HttpWebRequest request = HttpWebRequest.Create(uri) as HttpWebRequest;
request.Headers["Referer"]="www.xxx.com";

Posted by Edwiin at January 02, 2017 - 10:00 PM

To add a custom content in Headers, how to add.?

Posted by Chester at January 03, 2017 - 10:09 PM

10L positive solutions.

Posted by Kathy at January 04, 2017 - 9:40 PM