Guillaume Ayoub
9372b94e8d
Clean formatted strings
2020-05-30 15:55:44 +02:00
Guillaume Ayoub
259d686aec
Clean __init__ and __main__
2020-05-30 01:27:13 +02:00
Guillaume Ayoub
449e15a9b6
Remove breakpoint
2020-01-13 21:50:13 +01:00
Guillaume Ayoub
e8f5d774c7
Improve urls.py coverage
2020-01-13 21:26:56 +01:00
Guillaume Ayoub
b40ad461be
Remove repeated copyright assignments in files
...
Everything is replaced by a more explicit message in the COPYRIGHT file.
Inspired by rust-lang/rust#43498 and rust-lang/rust#57108 .
2020-01-02 14:10:09 +01:00
Guillaume Ayoub
647af0b228
Minor fixes
2020-01-02 13:27:11 +01:00
Guillaume Ayoub
56ab08a455
Remove useless import
2020-01-02 00:03:43 +01:00
Guillaume Ayoub
6e3b35af2a
Remove useless parse_email function
2020-01-01 23:56:56 +01:00
Guillaume Ayoub
5ffdc8270a
Update default_url_fetcher's documentation
2019-04-12 16:34:19 +02:00
mohdnajdy
87d586f431
remove ssl import
2019-04-04 15:12:05 +03:00
mohdnajdy
afc244123f
set parameter name to ssl_context and pass directly to urlopen
2019-04-04 15:04:05 +03:00
mohdnajdy
35389682a9
fixed issue of line to long
2019-04-04 14:49:30 +03:00
mohdnajdy
81f0002233
fixed import order
2019-04-04 14:41:04 +03:00
mohdnajdy
4b8b56f8bb
allow ability to ignore ssl verification within default_url_fetcher
2019-04-04 14:21:41 +03:00
Guillaume Ayoub
b7a9fe7dcc
Update copyright
2019-03-04 11:04:06 +01:00
Guillaume Ayoub
aacf769aba
Update default_url_fetcher documentation
...
Related to #814 .
2019-02-27 18:38:14 +01:00
Guillaume Ayoub
bdd45475b6
Clean a lot of things in API documentation
2019-02-22 11:34:46 +01:00
Guillaume Ayoub
40f4e9af4c
Remove query strings from file:// URIs
...
Fix #687 , fix #688 .
2018-10-26 19:18:33 +02:00
Guillaume Ayoub
cdb5af097f
Fix exception in fetch
2018-10-26 15:00:25 +02:00
Guillaume Ayoub
56904baa79
Use the same copyright line everywhere
2018-09-20 18:46:27 +02:00
Guillaume Ayoub
9b9f4f2347
Add 'Accept' header
...
Some servers seem to love it, it's the only one included in curl with
'User-Agent' and it can't be harmful.
2018-08-10 17:50:57 +02:00
Guillaume Ayoub
d2a6833555
Always include token type when dealing with URLs
2018-04-16 13:20:52 +02:00
Tontyna
2bb329acc4
Ensure 'str' and trailing slash in path2url
2018-03-20 10:04:55 +01:00
Guillaume Ayoub
736fd1478e
Add a timeout option to default_url_fetcher
2018-03-06 01:13:06 +01:00
Guillaume Ayoub
ea9ffc9a3f
Lint
2018-01-14 02:09:25 +01:00
Guillaume Ayoub
16e8186568
Drop Python 2 support
2018-01-14 01:48:17 +01:00
Guillaume Ayoub
fcd6bf7070
Clean and document the logging levels
...
Related to #488 .
2017-07-25 13:59:56 +02:00
Guillaume Ayoub
ba26fa34a9
Use ElementTree's elements as much as possible
2017-07-03 15:19:05 +02:00
Guillaume Ayoub
df50204f3e
Remove unsupported source lines
2017-07-01 00:28:14 +02:00
Guillaume Ayoub
4a5fa84f9f
Use cssselect2 instead of cssselect
2017-06-30 17:54:02 +02:00
Guillaume Ayoub
b53d9d3b1f
Cut long lines, remove an old note
2017-04-29 10:41:53 +02:00
Hugh Secker-Walker
9376c95071
Fix typos and awkward grammar on Tutorial and API pages.
2017-04-28 14:36:14 -04:00
Guillaume Ayoub
1215cb586a
Allow relative URIs in anchors
...
Fix #437 .
Backward-incompatible change: the signature of weasyprint.urls.url_join has
changed to allow relative links without a base URI.
This feature doesn't look really safe at first sight, but I can't find
anything bad coming from these changes. If there's a bug, I take the blame.
2017-03-25 18:28:41 +01:00
Guillaume Ayoub
4f4b4ed598
Use isort in tests
2017-03-25 00:33:36 +01:00
Guillaume Ayoub
ddefd4bb52
Use FILESYSTEM_ENCODING when encoding file:// URLs
2016-08-17 00:52:11 +02:00
Guillaume Ayoub
e346982b03
Don't try to make urlopen's job
2016-08-16 23:36:54 +02:00
Guillaume Ayoub
59e4fb5146
Change the way filenames are managed
2016-08-16 22:15:18 +02:00
Guillaume Ayoub
09e14e5820
Fix typo
2015-12-16 13:50:04 +01:00
Alex Eftimie
93f497bf11
Replace utf8 with utf-8 for gettext compatibility
2015-11-25 09:38:01 +02:00
Thomas Grainger
8c0a97a37d
Fix ressource typo
2015-07-01 00:01:43 +01:00
Simon Sapin
830598c30b
Merge branch 'pdf-attachments' from PR #177
2014-04-27 17:56:02 +01:00
Simon Sapin
43d1e73e65
Fix code formatting. (Clean flake8!)
2014-04-27 12:29:55 +01:00
Simon Sapin
09b2a4def0
Correctly close StreamingGzipFile, and log this kind of error
...
… rather than silence them. Logs make tests fail.
2014-04-27 11:00:02 +01:00
Colin Leitner
2be5945864
Replaced urlopen_contenttype
with urllib_get_content_type
, urllib_get_charset
and urllib_get_filename
.
2014-04-23 16:24:14 +02:00
Colin Leitner
a8a951bc2f
Fixed the default_url_fetcher
for Python 2, which returns a message type with no get_filename
method
2014-04-22 21:22:10 +02:00
Simon Sapin
9404375d3e
Fix #86 : Support gzip and deflate encoding in HTTP responses
2014-04-21 23:52:58 +01:00
Colin Leitner
05ec8df728
Added optional filename key to the URL fetcher result
2014-04-18 16:39:54 +02:00
Simon Sapin
c34221d215
2014.
2014-01-10 14:27:02 +00:00
Florian Mounier
e3d7bad55b
Be careful logging.warn is deprecated
2013-08-19 14:38:09 +02:00
Simon Sapin
52c06894b7
Docs: add an example combining documents into one PDF file.
2013-07-14 09:22:04 +01:00