Files
react-native-devtools-frontend/test/e2e/resources/network/headers-and-payload.html
T
Danil Somsikov 1afa110fd3 Ensure payload tab is selected when selecting different request
Bug: 1267891
Change-Id: I06883acc2cee6eec11b107a4c30c79f3ea9204e8
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3302736
Auto-Submit: Danil Somsikov <dsv@chromium.org>
Commit-Queue: Wolfgang Beyer <wolfi@chromium.org>
Reviewed-by: Wolfgang Beyer <wolfi@chromium.org>
2021-11-26 11:04:31 +00:00

30 lines
897 B
HTML

<!--
Copyright 2021 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<script>
fetch('image.svg?id=42&param=a%20b', {
'headers': {
'accept': '*/*',
'content-type': 'application/x-www-form-urlencoded;charset=UTF-8',
'x-same-domain': '1',
},
'referrer': 'https://example.com/',
'referrerPolicy': 'strict-origin-when-cross-origin',
'body': 'foo=alpha&bar=beta%3A42%3A0&baz&',
'method': 'POST',
});
fetch('image.svg', {
'headers': {
'accept': '*/*',
'content-type': 'application/x-www-form-urlencoded;charset=UTF-8',
'x-same-domain': '1',
},
'referrer': 'https://example.com/',
'referrerPolicy': 'strict-origin-when-cross-origin',
'body': 'foo=gamma&bar=delta%3A42%3A0&baz&',
'method': 'POST',
});
</script>