MY mENU


Saturday 17 March 2012

HttpRequestHeader & HttpResponseHeader


List of httpRequestHeader & httpResponseHeader :

httpRequesHeaders are:

1.cookie
2.host
3.referer
4.accept
5.accept-language
6.accept-encoding
7.keep-alive
8.user-agent
9.connection
10.if-modified-since

“keep-alive” request header value holds a number (300) indicating for how many seconds the connection between browser & web-server should be alive.

httpResponseHeaders are:

1.Location
2.refresh
3.set-cookie
4.cache-control/pragma
5.content-encoding
6.content-lenth
7.content-type
8.last-modified

“location” Instead of sending response to requested browser /source browser which has given request, if you want to send to new browser then use httpResponseHeader called location.

No comments:

Post a Comment