Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New section: Treat Proxy-Scheme as having a default #43

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions draft-ietf-core-corr-clar.md
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,28 @@ Content-Format registrations.
These are not repeated here; they are however quite useful as a
reference when preparing additional Content-Format registrations.

## RFC 7252-5.10.2: Proxy-Scheme

RFC 7252 differentiates between requests made to a forward-proxy
that contain the Proxy-Scheme option (or the Proxy-Uri option)
and regular requests where no Proxy- option is set.

For a unified view on requests, it can be beneficial for implementers (especially of servers)
to treat Proxy-Scheme the same way as Uri-Host
in that it expresses a part of the request URI,
and in that it has a default value influenced by the scheme indicated in the transport's URI compositon rules.

The behavior of a server applying that perspective
is consistent with RFC 7252.
<!-- Stating details here is probably just inviting controversy and do not provide a benefit for the reader:
When acting as a proxy, the server is already required to recognize all of its server names (including variations),
and when not acting as a proxy, the Proxy- options being critical lead to errors anyway.
-->

For compatibility, clients that apply that perspective
do not set the Proxy-Scheme option its value is equal to the default,
but always set when interacting with a declared forward proxy.

# IANA Considerations

This document makes no new requests to IANA.
Expand Down
Loading