We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8277d5f commit 334bc1dCopy full SHA for 334bc1d
codesigning/gcp-cloudfunc/main.py
@@ -154,7 +154,7 @@ def main(request):
154
response = requests.head(f'{url}.signature')
155
if response.status_code >= 400:
156
logging.info('Rejecting URL because it has already been signed.')
157
- return jsonify('File has already been signed'), 400
+ return jsonify('File has already been signed'), 204
158
159
with get_lock():
160
# Since the file has not already been signed, add the file to the
0 commit comments