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

Parsing string with multiple HTTP requests #65

Open
r41d opened this issue Aug 16, 2016 · 1 comment
Open

Parsing string with multiple HTTP requests #65

r41d opened this issue Aug 16, 2016 · 1 comment
Milestone

Comments

@r41d
Copy link

r41d commented Aug 16, 2016

Could you please clarify what the behaviour is when execute() gets passed a string with two (or even more) HTTP requests directly behind each other (seperated by "\r\n\r\n").
In my example

pars.get_headers()["HOST"]

returned the Host field of both requests seperated with a comma (although the hosts were the same).

Interestingly

pars.get_url()

returned just the URL of the second request.

@rfyiamcool
Copy link

+1

@benoitc benoitc added this to the 0.9.1 milestone Apr 17, 2020
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