Skip to content

Commit 1e960b8

Browse files
committed
bugfix: this route should be a POST route by default
1 parent 4e3bb65 commit 1e960b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

markusapi/markusapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def _do_file_upload(
461461
file_path: str,
462462
contents: Union[str, bytes],
463463
mime_type: Optional[str] = None,
464-
request_type: str = "PUT",
464+
request_type: str = "POST",
465465
) -> ResponseType:
466466
"""
467467
Helper that performs requests of <request_type> to <path> that involves uploading a file named

0 commit comments

Comments
 (0)