#2682 - Support late-headers in chunked transfer encoding

Identifier #2682
Issue type Feature request or suggestion
Title Support late-headers in chunked transfer encoding
Status Open
Tags

Type: Standards compliance (custom)

Handling member Deleted
Addon core
Description I was perusing details of chunked encoding:
https://en.wikipedia.org/wiki/Chunked_transfer_encoding

and noticed it can send headers after the chunks.

I've never seen this in the wild, but ideally we'd support it anyway. It'd be tricky to do as our code checks headers earlier in the downloader function, it'd need some heavy reworking.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated