Module gotham::http::header [] [src]

Defines HTTP headers which are set by Gotham but not provided by Hyper.

Structs

XRequestId

Defines the X-Request-ID header.

XRuntimeMicroseconds

Defines the X-Runtime header used to hold the number of microseconds taken for a response to be sent to the client.

Enums

XContentTypeOptions

The X-Content-Type-Options response header can be used to require checking of a response’s Content-Type header against the type of a request.

XFrameOptions

The X-Frame-Options header as defined as part of RFC 7034.

XXssProtection

The HTTP X-XSS-Protection response header is a feature of Internet Explorer, Chrome and Safari that stops pages from loading when they detect reflected cross-site scripting (XSS) attacks.