Skip to content

Commit c0d7449

Browse files
committed
Support the content-type sent by curl using --data option
1 parent 13e6ca7 commit c0d7449

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lambdas/service/app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1281,6 +1281,7 @@ def manifest_route(*, fetch: bool, initiate: bool):
12811281
+ ('/manifest/files' if initiate else '/manifest/files/{token}'),
12821282
# The initial PUT request is idempotent.
12831283
methods=['PUT' if initiate else 'GET'],
1284+
content_types=['application/json', 'application/x-www-form-urlencoded'],
12841285
interactive=fetch,
12851286
cors=True,
12861287
path_spec=None if initiate else {

0 commit comments

Comments
 (0)