http.cheatsheet
· ☕ 9 min read
#-#
#-# Headers
#-#
#-# Request headers
Field Example Description
Accept Accept: text/html Acceptable Content-Types for the response.
Accept-Charset Accept-Charset: utf-8 Acceptable character sets.
Accept-Encoding Accept-Encoding: gzip, deflate Acceptable encodings (for compression).
Accept-Language Accept-Language: en-US Acceptable human langages.
Accept-Datetime Accept-Datetime: Fri, 21 Dec 2012 06:06:06 GMT Acceptable time of last update.
Authorization Authorization: Basic YnJvOmhvbmVzdGx5 HTTP authentication credentials.
Cache-Control Cache-Control: no-cache Directives which caching mechanisms must obey.
Connection Connection: keep-alive Type of preffered connection for the client.