Skip to content

Use an invalid URI that will not cause httpbin to throw 500 - #6700

Merged
sigmavirus24 merged 1 commit into
psf:mainfrom
franekmagiera:update-redirect-to-invalid-uri-test
May 12, 2024
Merged

Use an invalid URI that will not cause httpbin to throw 500#6700
sigmavirus24 merged 1 commit into
psf:mainfrom
franekmagiera:update-redirect-to-invalid-uri-test

Conversation

@franekmagiera

Copy link
Copy Markdown
Contributor

Context in urllib3/urllib3#3392

Urllib3's CI started failing due to the requests test_redirecting_to_bad_url failing. The test started failing, beacuse httpbin started returning 500 on initial request, instead of a 302. I think this would break requests CI as well if it were run now.

Modified the redirect to URI to something that will not cause httpbin to throw a 500, but is still an invalid URI.