Skip to content

Commit

Permalink
issue 13141
Browse files Browse the repository at this point in the history
  • Loading branch information
phuslu committed Apr 8, 2014
1 parent 69749e7 commit c31d3c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions local/proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -2496,6 +2496,8 @@ def filter(self, handler):
with open(filename, 'rb') as fp:
content = fp.read()
headers = {'Content-Type': 'application/octet-stream', 'Connection': 'close'}
if path.endswith('pac'):
headers['Content-Type'] = 'text/plain'
return [handler.MOCK, 200, headers, content]


Expand Down

0 comments on commit c31d3c2

Please sign in to comment.