Replies: 2 comments 3 replies
-
Yo. 🤘 Sure, If you want to break past that constraint a good place to start would be working with Taking a look at the httpx/httpx/_transports/default.py Lines 215 to 222 in e63b659 ...if we wanted to also expose similar functionality in |
Beta Was this translation helpful? Give feedback.
-
@C1ph3rX13 Have you found any technique to preserve the exact request-target with ../ using httpx without writing a custom transport? Any pointers or examples would be hugely appreciated. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have noticed an odd behavior in the httpx module.
import requests
httpx.get("http://127.0.0.1/../../../../replay")
Which should typically send the request to the following path: /../../../../replay. Instead, it requests "http://127.0.0.1/replay" and modifies the specified input.
But I want to use the httpx to send HTTP requests but do not want the URL to be modified.
Beta Was this translation helpful? Give feedback.
All reactions