Skip to content

Commit

Permalink
connect-tcp: Adjust punctuation marks
Browse files Browse the repository at this point in the history
  • Loading branch information
bemasc committed Nov 30, 2023
1 parent 9635d3c commit 91266e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions draft-ietf-httpbis-connect-tcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ Clients that support both classic HTTP CONNECT proxies and template-driven TCP p

In some cases, it is valuable to allow "connect-tcp" clients to reach "connect-tcp"-only proxies when using a legacy configuration method that cannot convey a URI template. To support this arrangement, clients SHOULD treat certain errors during classic HTTP CONNECT as indications that the proxy might only support "connect-tcp":

* In HTTP/1.1: the response status code is 426 "Upgrade Required", with an "Upgrade: connect-tcp" response header.
* In any HTTP version: the response status code is 501 "Not Implemented".
* In HTTP/1.1: the response status code is "426 (Upgrade Required)", with an "Upgrade: connect-tcp" response header.
* In any HTTP version: the response status code is "501 (Not Implemented)".
- Requires SETTINGS_ENABLE_CONNECT_PROTOCOL to have been negotiated in HTTP/2 or HTTP/3.

If the client infers that classic HTTP CONNECT is not supported, it SHOULD retry the request using the registered default template for "connect-tcp":
Expand Down

0 comments on commit 91266e5

Please sign in to comment.