Skip to content

Commit

Permalink
chore: avoid forbidden terms
Browse files Browse the repository at this point in the history
  • Loading branch information
coryan committed Mar 8, 2024
1 parent 7530e13 commit 7108a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testbench/rest_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,7 @@ def resumable_upload_chunk(bucket_name):
else:
# If request header "X-GUploader-No-308: yes" is included, instead of returning 308
# Resume Incomplete, return 200 with a response header X-HTTP-Status-Code-Override: 308
# See more at https://g3doc.corp.google.com/cloud/storage/g3doc/user/scotty/faq.md?cl=head
# See more at go/scotty-faq
override_308 = request.headers.get("X-Guploader-No-308") == "yes"
return upload.resumable_status_rest(override_308=override_308)

Expand Down

0 comments on commit 7108a50

Please sign in to comment.