diff --git a/testing/web-platform/tests/beacon/headers/header-content-type.html b/testing/web-platform/tests/beacon/headers/header-content-type-and-body.html similarity index 61% rename from testing/web-platform/tests/beacon/headers/header-content-type.html rename to testing/web-platform/tests/beacon/headers/header-content-type-and-body.html index e2f2705ee649..0369cffdf473 100644 --- a/testing/web-platform/tests/beacon/headers/header-content-type.html +++ b/testing/web-platform/tests/beacon/headers/header-content-type-and-body.html @@ -12,13 +12,13 @@ diff --git a/testing/web-platform/tests/beacon/resources/content-type.py b/testing/web-platform/tests/beacon/resources/content-type-and-body.py similarity index 92% rename from testing/web-platform/tests/beacon/resources/content-type.py rename to testing/web-platform/tests/beacon/resources/content-type-and-body.py index d3be7d4dc124..1c8c4c7ec161 100644 --- a/testing/web-platform/tests/beacon/resources/content-type.py +++ b/testing/web-platform/tests/beacon/resources/content-type-and-body.py @@ -2,7 +2,7 @@ def main(request, response): command = request.GET.first(b"cmd").lower() test_id = request.GET.first(b"id") if command == b"put": - request.server.stash.put(test_id, request.headers.get(b"Content-Type", b"")) + request.server.stash.put(test_id, request.headers.get(b"Content-Type", b"") + ": " + request.body) return [(b"Content-Type", b"text/plain")], u"" if command == b"get":