We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Operating system: OS X
Python version: 3.6
LAKEsuperior release, branch, or commit #: 1.0.0alpha12 from pypi
Create an LDP-NR as with #47
The response includes a response header such as:
Link: <http://localhost:8000/ldp/ee7d7990-24d5-41d3-bc3b-0a59cfd2b739/fcr:metadata>; rel="describedby"; anchor="<http://localhost:8000/ldp/ee7d7990-24d5-41d3-bc3b-0a59cfd2b739>"
I would not expect to see the anchor parameter to be enclosed in <> characters.
anchor
<>
That is, I would expect:
Link: <http://localhost:8000/ldp/ee7d7990-24d5-41d3-bc3b-0a59cfd2b739/fcr:metadata>; rel="describedby"; anchor="http://localhost:8000/ldp/ee7d7990-24d5-41d3-bc3b-0a59cfd2b739"
https://tools.ietf.org/html/rfc8288 -- this is the specification for web linking (which defines the anchor param) The ABNF for the anchor param is "URI Reference", as defined by https://tools.ietf.org/html/rfc3986#section-4.1
The text was updated successfully, but these errors were encountered:
Remove extraneous characters from anchor link. Fixes #48.
7a94362
Merge pull request #51 from scossu/fix_48
a016dbe
Fixed in #51
Sorry, something went wrong.
No branches or pull requests
Environment
Operating system: OS X
Python version: 3.6
LAKEsuperior release, branch, or commit #: 1.0.0alpha12 from pypi
Steps to reproduce
Create an LDP-NR as with #47
Observed behavior
The response includes a response header such as:
Link: <http://localhost:8000/ldp/ee7d7990-24d5-41d3-bc3b-0a59cfd2b739/fcr:metadata>; rel="describedby"; anchor="<http://localhost:8000/ldp/ee7d7990-24d5-41d3-bc3b-0a59cfd2b739>"
Expected behavior
I would not expect to see the
anchor
parameter to be enclosed in<>
characters.That is, I would expect:
Link: <http://localhost:8000/ldp/ee7d7990-24d5-41d3-bc3b-0a59cfd2b739/fcr:metadata>; rel="describedby"; anchor="http://localhost:8000/ldp/ee7d7990-24d5-41d3-bc3b-0a59cfd2b739"
Other notes worth mentioning
https://tools.ietf.org/html/rfc8288 -- this is the specification for web linking (which defines the anchor param)
The ABNF for the anchor param is "URI Reference", as defined by https://tools.ietf.org/html/rfc3986#section-4.1
The text was updated successfully, but these errors were encountered: