Skip to content

header field "host" includes port 80 #2894

@zhaotian2470

Description

@zhaotian2470

As the following code:

self.setHeader(hostHeaderName, self.uri.host)

If URI is "http://myhost:80/path", header field "host" will be set as "myhost:80".
Is it correct?

Note: before commit ff6d6c6, "host" header field will be set as "myhost"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions