Package-level declarations

Functions

Link copied to clipboard

Conditionally quotes and escapes a header value if the header value contains a comma or quote

Link copied to clipboard

Attempt to split an HTTP header value by commas and returns the resulting list. This parsing implements RFC-7230's specification for header values.

Link copied to clipboard

Attempt to split an HTTP header value as if it contains a list of HTTP-Date timestamp values separated by commas. The split is aware of the HTTP-Date format and will skip a comma within the timestamp value.