Skip to content

Commit

Permalink
Correct the Content-Type header
Browse files Browse the repository at this point in the history
  • Loading branch information
beavailable committed Aug 21, 2022
1 parent 147ab60 commit d76fc25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share.py
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ def do_put(self):

def respond_for_archive(self, dir):
self.send_response(HTTPStatus.OK)
self.send_content_type('application/octet-stream')
self.send_content_type('application/zip')
self.send_transfer_encoding('chunked')
self.end_headers()
with ChunkWriter(self.wfile) as writer:
Expand Down

0 comments on commit d76fc25

Please sign in to comment.