Jump to content

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/122302-walk-through-header-data/
Share on other sites

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?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.