Commit 8b919544 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

HTTPUpload: Don't follow redirects

parent eda709de
......@@ -223,7 +223,9 @@ def _upload_file(self, transfer):
# Set CAN_REBUILD so chunks get discarded after they are beeing
# written to the network
message.set_flags(Soup.MessageFlags.CAN_REBUILD |
message.props.request_headers.set_content_type(transfer.mime, None)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment