HttpHeader
: string
in package
Enum HttpHeader
Represents a subset of standard HTTP headers used in HTTP requests and responses. Each case maps to the actual header name as a string.
Table of Contents
Cases
- CONTENT_LENGTH = "Content-Length"
- The size of the request or response body, in bytes.
- CONTENT_TYPE = "Content-Type"
- The media type of the request or response body (e.g., application/json).
- LOCATION = "Location"
- Used to redirect the client to a different URL.
Cases
CONTENT_LENGTH
The size of the request or response body, in bytes.
CONTENT_TYPE
The media type of the request or response body (e.g., application/json).
LOCATION
Used to redirect the client to a different URL.