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

test_httpretty_should_handle_paths_starting_with_two_slashes needs update #457

Open
jpopelka opened this issue Aug 3, 2022 · 2 comments

Comments

@jpopelka
Copy link

jpopelka commented Aug 3, 2022

The test checks that we can handle URLs with paths starting with //.

However the http.server.BaseHTTPRequestHandler.parse_request() now replaces '//' with '/' so the test should be updated to allow also '/foo' as a path.

@papoteur-mga
Copy link

Hello,
Trying to package this module for Mageia, we see this issue.
Is it a problem with the test which is wrong or that really that paths starting with // are no more handled?

@MeggyCal
Copy link

The test started failing with requests 2.32.2 (I didn't test 2.32.0, sorry), probably with psf/requests#6644.

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

No branches or pull requests

3 participants