How to Add Modify Headers Value with HttpWebRequest?
I ha开发者_如何学Cve Mozilla plug-in Modify headers, It contains header value. How can i add these values with request when i create the object of HttpWebrequest in C#.net.
This method will return all headers attached with the request : HttpWebRequest.Headers
You can also use header tool is more easy to use : Header Tool.
Just add your header to the Headers collection:
httpWebRequest.Headers.Add(headerName, value);
精彩评论