http icon indicating copy to clipboard operation
http copied to clipboard

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

Open Chralu opened this issue 1 year ago • 0 comments

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

Chralu avatar Jun 20 '24 15:06 Chralu