Skip to content

get moz-extension scheme file throws ClientException: Invalid content-length header [-1] #1240

Description

@Chralu

Getting a file from a firefox extension, returns Content-length is -1.

Because of this, get method throws a ClientException: Invalid content-length header [-1]. exception.

await get('moz-extension://<extension-id>/index.html')

Should that check be disabled for moz-extension scheme ?

http version : 1.2.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    package:httptype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions