Open Bug 1654720 Opened 5 years ago

[wpt-sync] Sync PR 24712 - [service-workers] Correct multipart response

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(Not tracked)

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 24712 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/24712
Details from upstream follow.

Mike Pennisi <mike@mikepennisi.com> wrote:

[service-workers] Correct multipart response

RFC2046 [1] specifies:

implementations must ignore anything that appears before the first
boundary delimiter line or after the last one.

The modified resource was ostensibly designed to include two body parts.
Insert an initial boundary delimiter so that each image is interpreted
as a distinct body part.

Insert the requisite CRLF sequences around the boundaries.

https://tools.ietf.org/html/rfc2046

You need to log in before you can comment on or make changes to this bug.