Skip to content
This repository has been archived by the owner on Jan 17, 2021. It is now read-only.

Commit

Permalink
Use appropriate header for install as CA
Browse files Browse the repository at this point in the history
  • Loading branch information
xyuanmu committed Mar 24, 2016
1 parent e854a67 commit 909e7dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pac_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ def do_GET(self):
self.wfile.write(('HTTP/1.1 200\r\nContent-Type: %s\r\nContent-Length: %s\r\n\r\n' % (mimetype, len(data))).encode())
self.wfile.write(data)
elif filename == 'ca.crt':
mimetype = 'application/octet-stream'
mimetype = 'application/x-x509-ca-cert'
cer_filename = get_file(filename)
if cer_filename:
data = open(cer_filename, 'rb').read()
Expand Down

0 comments on commit 909e7dc

Please sign in to comment.