Skip to content

Commit

Permalink
Replace ref to obsoleted RFC7540 with ref to RFC9110
Browse files Browse the repository at this point in the history
The spec mentions RFC7540 when it talks about content negotiation. RFC7540 has
been obsoleted by RFC9113, so reference should be updated.

Now, the prose is a bit clunky because it seems to suggest that RFC7540 defines
the `"Accept-Language"` HTTP header, whereas it does not. Rather than replacing
the reference with a reference to RFC9113, this update rather targets RFC9110,
where `"Accept-Language"` is defined.
  • Loading branch information
tidoust committed Nov 27, 2023
1 parent f54c962 commit 0ccc3fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3208,8 +3208,8 @@ <h2>
The server that hosts the web application could attempt to
predetermine the end-user's language by using <a href=
"https://en.wikipedia.org/wiki/Geotargeting">geotargeting</a> or by
using content negotiation (e.g., using [[RFC7540]]'s
"`Accept-Language`" header, or even a custom HTTP header).
using content negotiation (e.g., using an HTTP "`Accept-Language`"
header [[RFC9110]], or even a custom HTTP header).
</dd>
</dl>
<p>
Expand Down

0 comments on commit 0ccc3fd

Please sign in to comment.