Skip to content

Commit

Permalink
Fix typo in CH WPT.
Browse files Browse the repository at this point in the history
Bug: 1286322
Change-Id: Iab22948489a088a9850b95f498ddb9b2bad28a5d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3381617
Commit-Queue: Nathan Eliason <eliason@google.com>
Auto-Submit: Nathan Eliason <eliason@google.com>
Reviewed-by: Andrew Williams <awillia@chromium.org>
Commit-Queue: Andrew Williams <awillia@chromium.org>
Cr-Commit-Position: refs/heads/main@{#957798}
  • Loading branch information
Nathan Eliason authored and chromium-wpt-export-bot committed Jan 12, 2022
1 parent 0a269ce commit a5fbf7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client-hints/resources/echo-ua-client-hints-received.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def main(request, response):

for header in client_hint_headers:
if request_client_hints[header] is not None:
response.headers.set(header + b"-recieved", request_client_hints[header])
response.headers.set(header + b"-received", request_client_hints[header])

headers = []
content = u""
Expand Down
2 changes: 1 addition & 1 deletion client-hints/sec-ch-quotes.https.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<script>
const verify_headers = (header_list, response, verification_func) => {
header_list.forEach(header => {
const value = response.headers.get(header+"-recieved");
const value = response.headers.get(header+"-received");
if(value) {
verification_func(value);
}
Expand Down

0 comments on commit a5fbf7b

Please sign in to comment.