mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 132d12daea699ce266324e79eecbe59b10e56502
This commit is contained in:
parent
527d874bc1
commit
fe00a63040
1004 changed files with 18598 additions and 92770 deletions
|
@ -2,8 +2,9 @@ def main(request, response):
|
|||
|
||||
headers = [("X-Request-Method", request.method),
|
||||
("X-Request-Content-Length", request.headers.get("Content-Length", "NO")),
|
||||
("X-Request-Content-Type", request.headers.get("Content-Type", "NO"))]
|
||||
|
||||
("X-Request-Content-Type", request.headers.get("Content-Type", "NO")),
|
||||
# Avoid any kind of content sniffing on the response.
|
||||
("Content-Type", "text/plain")]
|
||||
content = request.body
|
||||
|
||||
return headers, content
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue