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

Don't warn on 302 redirects #1345

Merged
merged 4 commits into from
Jun 24, 2020
Merged

Don't warn on 302 redirects #1345

merged 4 commits into from
Jun 24, 2020

Conversation

simonbyrne
Copy link
Contributor

@simonbyrne simonbyrne commented Jun 18, 2020

302s are meant to be temporary redirects, so we shouldn't warn. Fixes #1344.

Copy link
Member

@fredrikekre fredrikekre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but CI failures look related.

@mortenpi
Copy link
Member

mortenpi commented Jun 21, 2020

The CI failures are unrelated I believe: it's the usual intermittent failure we see on Travis. We should probably disable the linkcheck test that actually tries to connect to an external server on Travis, and maybe run it as part of the Linkcheck GitHub Actions workflow instead.

LGTM, I'm fine with treating 302 failures responses as successes.

@mortenpi mortenpi added this to the 0.25.0 milestone Jun 21, 2020
@simonbyrne
Copy link
Contributor Author

bump?

@mortenpi mortenpi merged commit 69b3b5d into JuliaDocs:master Jun 24, 2020
@mortenpi
Copy link
Member

I just noticed that 307 is also "Temporary Redirect (since HTTP/1.1)". I guess we should also disable the warning for 307 redirects?

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

Successfully merging this pull request may close these issues.

Valid DOI redirected links trigger warnings.
3 participants