Skip to content

Instantly share code, notes, and snippets.

@demisx
Last active August 29, 2015 13:57
Show Gist options
  • Save demisx/9797097 to your computer and use it in GitHub Desktop.
Save demisx/9797097 to your computer and use it in GitHub Desktop.
HTTP Simple Methods and Headers

Simple Methods

A method is said to be a simple method if it is a case-sensitive match for one of the following:

GET
HEAD
POST

Simple Headers

A header is said to be a simple header if the header field name is an ASCII case-insensitive match for Accept, Accept-Language, or Content-Language or if it is an ASCII case-insensitive match for Content-Type and the header field value media type (excluding parameters) is an ASCII case-insensitive match for application/x-www-form-urlencoded, multipart/form-data, or text/plain.

Simple Response Headers

A header is said to be a simple response header if the header field name is an ASCII case-insensitive match for one of the following:

Cache-Control
Content-Language
Content-Type
Expires
Last-Modified
Pragma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment