cgm225 Posted September 2, 2008 Share Posted September 2, 2008 I pulled this header data from firebug while looking at my website. Can someone walk me through what it means, and if there is anything I can/should modify, and how? Response Headers Date Tue, 02 Sep 2008 00:10:38 GMT Server Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 mod_python/3.3.1 Python/2.5.2 X-Powered-By PHP/5.2.6-2+b1 Expires Thu, 19 Nov 1981 08:52:00 GMT Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma no-cache Keep-Alive timeout=15, max=97 Connection Keep-Alive Transfer-Encoding chunked Content-Type text/html Request Headers Host example.com User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16 Accept text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language en-us,en;q=0.5 Accept-Encoding gzip,deflate Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive 300 Connection keep-alive Cookie __utmz=57104176.1220227984.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=57104176.507172924456456640.1220227984.1220235658.1220279295.3; PHPSESSID=af4e98f2d6fb3dde1be2c92dab42a6fe Cache-Control max-age=0 Quote Link to comment https://forums.phpfreaks.com/topic/122302-walk-through-header-data/ Share on other sites More sharing options...
corbin Posted September 2, 2008 Share Posted September 2, 2008 For detailed 'decoding' I would suggest that you find the HTTP specifications and look through them. The basics: Raw HTTP headers (except for the first line), are like: Key: value So, for example Content-Type: text/html Would simply be saying to the browser, "Handle this like you would handle text/html" "if there is anything I can/should modify, and how?" All of it can be modified. As for how, that would depend on your situation. Why do you think you need to change it? Quote Link to comment https://forums.phpfreaks.com/topic/122302-walk-through-header-data/#findComment-631551 Share on other sites More sharing options...
Daniel0 Posted September 2, 2008 Share Posted September 2, 2008 http://www.ietf.org/rfc/rfc2616.txt Quote Link to comment https://forums.phpfreaks.com/topic/122302-walk-through-header-data/#findComment-631648 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.