Skip to content

Should http.client.HTTPMessage be subtype of Mapping[str, str]? #5729

@Unrud

Description

@Unrud

Example:

URLopener.http_error has the argument headers: Mapping[str, str]. It gets called with the value of HTTPResponse.msg which has the type HTTPMessage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions