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

Handle HTTP 308 Permanent Redirect #2847

Merged
merged 3 commits into from
Jul 26, 2017
Merged

Conversation

redapple
Copy link
Contributor

Fixes #2844

@@ -42,6 +42,10 @@ def _test(method):
_test('POST')
_test('HEAD')

_test('GET', status=308)
_test('POST', status=308)
_test('HEAD', status=308)
Copy link
Member

Choose a reason for hiding this comment

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

tests are fine but looks like a good opportunity to add tests for 307 status too

@codecov-io
Copy link

codecov-io commented Jul 26, 2017

Codecov Report

Merging #2847 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff           @@
##           master   #2847   +/-   ##
======================================
  Coverage    84.7%   84.7%           
======================================
  Files         163     163           
  Lines        9191    9191           
  Branches     1367    1367           
======================================
  Hits         7785    7785           
  Misses       1154    1154           
  Partials      252     252
Impacted Files Coverage Δ
scrapy/downloadermiddlewares/redirect.py 96.72% <100%> (ø) ⬆️

@dangra dangra merged commit 881a5e3 into scrapy:master Jul 26, 2017
@kmike kmike added this to the v1.5 milestone Dec 22, 2017
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

Successfully merging this pull request may close these issues.

4 participants