How to add Header for HTTP?

Hi there.

It is my header of web system.
I’d like to add header to WWW method.

Cache-Control:max-age=0
Content-Type:text/html; charset=utf-8
Date:Mon, 13 Apr 2015 08:43:52 GMT
Expires:Mon, 13 Apr 2015 08:43:52 GMT
Last-Modified:Mon, 13 Apr 2015 08:43:52 GMT
Location:http://localhost:8000/admin/
Server:WSGIServer/0.1 Python/2.7.6
Set-Cookie:csrftoken=m7OEsvCtxBXITkp1JLoWQdeHwiF84H4M; expires=Mon, 11-Apr-2016 08:43:52 GMT; Max-Age=31449600; Path=/
Set-Cookie:sessionid=ndmqercfawkvckivkggdr1su5tg106is; expires=Mon, 27-Apr-2015 08:43:52 GMT; httponly; Max-Age=1209600; Path=/
Vary:Cookie
X-Frame-Options:SAMEORIGIN

I think it is header.

    Set-Cookie:csrftoken=m7OEsvCtxBXITkp1JLoWQdeHwiF84H4M; expires=Mon, 11-Apr-2016 08:43:52 GMT; Max-Age=31449600; Path=/
    Set-Cookie:sessionid=ndmqercfawkvckivkggdr1su5tg106is; expires=Mon, 27-Apr-2015 08:43:52 GMT; httponly; Max-Age=1209600; Path=/

Could you tell me how to add it?

I don’t see the start of your constructor but if you do

`
var form = new WWWForm();
form.AddField(“name”,“value”);
var headers = form.headers;
var rawData = form.data;
var url = “www.myurl.com”;

// Add a custom header to the request.
// In this case a basic authentication to access a password protected resource.
headers[“Authorization”]="Basic " + System.Convert.ToBase64String(
System.Text.Encoding.ASCII.GetBytes(“username:password”));

<\code>
`