http 

Send to Kindle
home » snippets » http


Pages
status_codes        



Headers

Response headers

# In general
strict-transport-security:max-age=31536000; includeSubdomains
x-content-type-options:nosniff
x-frame-options:SAMEORIGIN
x-xss-protection:1; mode=block
Content-location: http(s)://www.domain.tld/....


# No caching
cache-control:no-cache, must-revalidate
expires:<Stick in some past date - e.g. Fri, 01 Jan 1990 00:00:00 GMT>

# For json responses
#
content-disposition:attachment
content-type:application/json; charset=UTF-8