I am using ASIHTTPRequest, and i have to make use of the POST method to send some values to the server. So, for this i have to set headers and its corresponding values.
ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:url];
[request addRequestHeader:@"Referer" value:@"http://allseeing-i.com/"];
The following are headers that is needed to be included in my application, and how could i include the once with Semi-Colons ("Content-Type" = "text/html";
, "Keep-Alive" = "timeout=15, max=100";
etc)
"Content-Type" = "text/html";
Date = "Wed, 21 Jun 2011 09:09:57 GMT";
"Keep-Alive" = "timeout=15, max=100";
Server = Apache;
"Transfer-Encoding" = Identity;