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

Accepting additional "Successful" 2xx status codes #2310

Merged
merged 1 commit into from
Oct 29, 2021
Merged

Accepting additional "Successful" 2xx status codes #2310

merged 1 commit into from
Oct 29, 2021

Conversation

leyrer
Copy link
Contributor

@leyrer leyrer commented Oct 26, 2021

In case a bridge does a http 'POST' to get additional data, some services/servers (for example servicenow.com) return a "201 Created" instead of a "200 OK" http status, which currently causes rss-bridge to throw an error.
I added 'support' for 201 and 202 status codes, which might make sense in the rss-bridge context,

Fixes #2311

@em92 em92 merged commit 3764348 into RSS-Bridge:master Oct 29, 2021
floviolleau pushed a commit to floviolleau/rss-bridge that referenced this pull request Jan 25, 2022
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.

Only 200 http status code supported
2 participants