mirror of
https://github.com/Kozea/WeasyPrint.git
synced 2024-10-05 16:37:47 +03:00
Merge branch 'master' of github.com:Kozea/WeasyPrint
This commit is contained in:
commit
efa0b0a102
@ -136,7 +136,7 @@ def app(environ, start_response):
|
||||
return make_response(
|
||||
body, content_type='application/pdf',
|
||||
headers=[('Content-Disposition',
|
||||
'attachement; filename=%s.pdf' % filename)])
|
||||
'attachment; filename=%s.pdf' % filename)])
|
||||
|
||||
elif path.startswith('/view/'):
|
||||
url = normalize_url(path[6:], environ.get('QUERY_STRING'))
|
||||
|
Loading…
Reference in New Issue
Block a user