Files
tubestation/docshell/test/mochitest/file_compressed_multipart^headers^
Matt Woodrow 0d7366cc20 Bug 1600211 - Disable content conversion by HttpChannelChild if we have already applied it by the time we get to HttpChannelParent::OnStartRequest. r=mayhemer
We normally get HttpChannelParent::OnStartRequest directly from nsHttpChannel::OnStartRequest, where we disable content conversion and ask the child to do it instead.

When we install a multipart converter, we defer calling HttpChannelParent::OnStartRequest until we've decoded parts, at which point content conversion is already applied to the stream.

This detects that case, and stops the child trying to do it a second time (which fails, and breaks the content).

Differential Revision: https://phabricator.services.mozilla.com/D55222
2019-12-04 03:19:26 +00:00

3 lines
90 B
Plaintext

Content-Type: multipart/x-mixed-replace; boundary="testingtesting"
Content-Encoding: gzip