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
broken Link header fields #26
Comments
On Jun 22, 2021, at 21:27, Julian Reschke ***@***.***> wrote:
There are examples of the type:
Link: <https://example.org/links/resource1> ; rel="alternate"
; type="application/linkset+json"
Note that whitespace would be needed in the continuation line.
From the Terminology section:
In the examples provided in this document, links in the HTTP "Link"
header are shown on separate lines in order to improve readability.
Note, however, that as per Section 3.2 of [RFC7230], line breaks are
not allowed in values for HTTP headers; only whitespaces and tabs are
supported as seperators.
… —
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Yes, I know that. But what you currently use is not an HTTP message. You can fix it by adding leading whitespace. |
sounds like an easy fix. i'll have a look and if we change the example(s) it seems we can also remove the cautionary note in the terminology section? |
Personally, I would prefer handling all examples in the way it's done in Figure 12 (see below) and keep the cautionary note. I think that approach really helps for legibility.
|
my guess is @reschke refers to this example:
(and a second one like it) which indeed seem to be in need of fixing. |
On 2021-06-23 10:28, Herbert Van de Sompel wrote:
Personally, I would prefer handling all examples in the way it's done in
Figure 12 (see below) and keep the cautionary note. I think that
approach really helps for legibility.
ok, this is done and if everybody is happy then maybe we can close this
issue?
|
Yes, this issue is addressed. Note that
is a bit misleading; "deprecated" would be more precise. |
assuming that we have no fully addressed this issue, i am closing it. thanks, @reschke! |
There are examples of the type:
Note that whitespace would be needed in the continuation line.
The text was updated successfully, but these errors were encountered: