HTTP Request Headers List
Blogs20132013-10-28
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
