mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
fix #1492
This commit is contained in:
parent
258958e073
commit
20bcfbb5d0
@ -67,6 +67,7 @@ class P12(tornado.web.RequestHandler):
|
|||||||
|
|
||||||
def get(self):
|
def get(self):
|
||||||
p = os.path.join(self.request.master.options.cadir, self.filename)
|
p = os.path.join(self.request.master.options.cadir, self.filename)
|
||||||
|
p = os.path.expanduser(p)
|
||||||
self.set_header("Content-Type", "application/x-pkcs12")
|
self.set_header("Content-Type", "application/x-pkcs12")
|
||||||
self.set_header(
|
self.set_header(
|
||||||
"Content-Disposition",
|
"Content-Disposition",
|
||||||
|
Loading…
Reference in New Issue
Block a user