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

providing Link header with rel="original" for memento 404 response #320

Open
luda171 opened this issue Sep 6, 2016 · 0 comments
Open

providing Link header with rel="original" for memento 404 response #320

luda171 opened this issue Sep 6, 2016 · 0 comments

Comments

@luda171
Copy link

luda171 commented Sep 6, 2016

Hi,
for memento clients would be helpful if openwayback will provide Link header with rel= original for no memento found (HTTP code 404) case.
Examples:
current openwayback behavior:
curl -I http://www.webarchive.org.uk:80/wayback/archive/https://bitbucket.org/azaroth42/linkheaderparser/src/c2321bf3349b/parse_link.js
HTTP/1.1 404 Not Found
Date: Tue, 06 Sep 2016 20:53:51 GMT
Server: Apache
Set-Cookie: JSESSIONID=14573AA4F47D439F4A92B783691B41B0; Path=/wayback
Content-Type: text/html;charset=utf-8
Content-Language: en

desirable behavior (as archive Today)
curl -I http://archive.is/20160903042819/https://bitbucket.org/azaroth42/linkheaderparser/src/c2321bf3349b/parse_link.js
HTTP/1.1 404 Not Found
Date: Tue, 06 Sep 2016 21:13:11 GMT
Expires: Tue, 06 Sep 2016 21:15:11 GMT
Link: https://bitbucket.org/azaroth42/linkheaderparser/src/c2321bf3349b/parse_link.js; rel="original"
Content-Type: text/html;charset=utf-8
Vary: Accept-Language
Server: nginx/1.9.2
Connection: keep-alive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant