Skip to content

Bugfix: uri parsing#261

Merged
digitalresistor merged 4 commits intomasterfrom
bugfix/uri_parsing
Aug 27, 2019
Merged

Bugfix: uri parsing#261
digitalresistor merged 4 commits intomasterfrom
bugfix/uri_parsing

Conversation

@digitalresistor
Copy link
Member

Closes #260

The HTTP spec states that it is acceptable to send a request like: GET //whatever/testing HTTP/1.1 This should get properly conveyed to the WSGI application, but due to the way that urlsplit works in the standard library this did not happen correctly. With this fix we pass through the original path as requested by the client, and the WSGI application will be responsible for collapsing multiple empty path segments as necessary. Fixes #260
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants