Skip to content

Parsing string with multiple HTTP requests #65

@r41d

Description

@r41d

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions