William Jiang

JavaScript,PHP,Node,Perl,LAMP Web Developer – http://williamjxj.com; https://github.com/williamjxj?tab=repositories

HTTP Request Headers List

HTTP Request Headers List

For PHP, there is seldom to deal with HTTP request headers directly in the codes, for instance, I seldom use <? php header(‘…’); /> to indicate or assign header information for general purpose. Apache http-server packages headers information, so I don’t need to care about it.
However, Node.js is different, it itself acts as a web-server, so header customizing and processing is needed. That means more low layers’ processing.
Here I list common HTTP request Header for quick retrieving:

  • Accept
  • Accept-Charset
  • Accept-Encoding
  • Accept-Language
  • Connection
  • Cookie
  • Host
  • Referer
  • User-Agent

For more details, here are links:

http://en.wikipedia.org/wiki/List_of_HTTP_header_fields
http://amundsen.com/headers/reference.html

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: