headers

package
v0.0.0-...-8e8e47b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ContentType indicates the media type of the data being sent.
	ContentType = "Content-Type"

	// ContentLength indicates the size of the message body, in bytes, sent to the recipient.
	ContentLength = "Content-Length"

	// ContentTypeApplicationJson indicates that the body of the HTTP request or response contains JSON.
	ContentTypeApplicationJson = "application/json"

	// TransferEncoding specifies the form of encoding used to transfer the payload body to the caller.
	TransferEncoding = "Transfer-Encoding"

	// TransferEncodingChunked allows data to be sent in a series of chunks without specifying the total size beforehand.
	TransferEncodingChunked = "chunked"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL