Skip to content

Add a model and parser for the RFC 9209 Proxy-Status response field - #689

Open
arturobernalg wants to merge 1 commit into
apache:masterfrom
arturobernalg:rfc9209-proxy-status
Open

Add a model and parser for the RFC 9209 Proxy-Status response field#689
arturobernalg wants to merge 1 commit into
apache:masterfrom
arturobernalg:rfc9209-proxy-status

Conversation

@arturobernalg

Copy link
Copy Markdown
Member

Proxy-Status is a Structured Fields (RFC 8941) List whose members carry an intermediary identity and a set of parameters. ProxyStatus is an immutable holder for a single member, ProxyStatusError enumerates the standardized error tokens, and ProxyStatusSupport parses the field value. Parameter values keep their structured-field types, the standardized and error-specific parameter types are validated, received-status is checked as an HTTP status code, and byte-sequence values are defensively copied. The code only decodes the field; it neither interprets nor acts on the reported values.

Proxy-Status is a Structured Fields (RFC 8941) List whose members carry an intermediary identity and a set of parameters. ProxyStatus is an immutable holder for a single member, ProxyStatusError enumerates the standardized error tokens, and ProxyStatusSupport parses the field value. Parameter values keep their structured-field types, the standardized and error-specific parameter types are validated, received-status is checked as an HTTP status code, and byte-sequence values are defensively copied. The code only decodes the field; it neither interprets nor acts on the reported values.
@arturobernalg
arturobernalg requested a review from ok2c August 15, 2026 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant