-
Notifications
You must be signed in to change notification settings - Fork 2
Set HOST header automatically in request. #9
Copy link
Copy link
Open
Description
- lambda-requests version: latest
- Python version: 3.9
- Operating System: Macos
Description
Some web frameworks require a host header to be set. Given the nature of this project there is no HOST as such but a I guess the function name would make the most sense.
What I Did
This seems to work OK
s.get("http+lambda://trending/something", headers={"HOST": "trending"})
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels