1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-05 08:27:22 +03:00
WeasyPrint/weasyprint
Colin Leitner a9fd32c14c Change filename logic for PDF attachments
This patch honors the filename key of a fetched resource, which can be set by
the `Content-Disposition` or `Content-Type` headers and uses
`mimetypes.guess_extension` for resources that lack any indication of a
filename.
2014-04-18 16:40:47 +02:00
..
css Make <fieldset> display: block (See #168) 2014-02-07 10:26:41 +00:00
formatting_structure 2014. 2014-01-10 14:27:02 +00:00
layout Don't crash when table with implicit width has column widths with percentages (fix #169) 2014-02-16 19:41:41 +01:00
tests Change filename logic for PDF attachments 2014-04-18 16:40:47 +02:00
__init__.py Refactored the url_fetcher argument for write_pdf to an attribute of the Document class 2014-04-18 15:11:45 +02:00
__main__.py Clarified attachment documentation 2014-04-07 19:32:48 +02:00
compat.py Added support for PDF attachments (v2) 2014-04-04 12:32:21 +02:00
document.py Refactored the url_fetcher argument for write_pdf to an attribute of the Document class 2014-04-18 15:11:45 +02:00
draw.py 2014. 2014-01-10 14:27:02 +00:00
html.py Replaced unnecessary call to setattr with direct assignment 2014-04-07 19:35:00 +02:00
images.py 2014. 2014-01-10 14:27:02 +00:00
logger.py 2014. 2014-01-10 14:27:02 +00:00
navigator.py 2014. 2014-01-10 14:27:02 +00:00
pdf.py Change filename logic for PDF attachments 2014-04-18 16:40:47 +02:00
stacking.py 2014. 2014-01-10 14:27:02 +00:00
text.py Added more alternative names for dlopen gobject, pango and pangocairo on Mac 2014-03-18 12:00:09 +01:00
urls.py Added optional filename key to the URL fetcher result 2014-04-18 16:39:54 +02:00