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 status 308 (Permanent Redirect) as a redirect #326

Closed
wants to merge 1 commit into from

Conversation

amiryal
Copy link
Contributor

@amiryal amiryal commented Nov 4, 2022

While researching for a fix for rss2email/rss2email#229, I noticed that feedparser does not handle HTTP status code 308 the same as the other HTTP redirects. The new status code 308 (Permanent Redirect) was added to the standard in 2015 as the missing variant of status code 301 (Moved Permanently) which “does not allow changing the request method from POST to GET”.

@kurtmckee
Copy link
Owner

kurtmckee commented Jun 14, 2023

I am removing all of the HTTP client code from feedparser and am using the requests module it's installed. Therefore I'm closing this PR.

@kurtmckee kurtmckee closed this Jun 14, 2023
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.

None yet

2 participants