Commit graph

38 commits

Author SHA1 Message Date
j
a0d5c793eb use CaseInsensitiveDict 2023-07-27 18:37:13 +02:00
j
bf34774533 requests is always required now 2023-07-27 18:07:49 +02:00
j
adad3be419 drop six and python2 support 2023-07-27 13:07:13 +02:00
j
677b61877e get all connections 2023-07-07 14:50:14 +05:30
j
0df326eaf8 use default headers with requests backend 2020-06-06 11:41:43 +02:00
j
e78519998d use requests session 2019-08-02 14:23:07 +02:00
j
8675edf19f fallback cache 2019-04-29 12:22:27 +02:00
j
5378970187 use ox.makedirs 2017-08-31 15:49:19 +02:00
j
a09dfe5d4d higher timeout 2017-03-23 10:48:42 +01:00
j
dc2eaccd92 compress wiki text, only decompress if compressed 2017-03-14 19:11:52 +01:00
j
1dc2788c25 more ox.cache storage backends 2017-03-14 18:24:11 +01:00
j
9893e5865d fix cache fs backend(py3) 2016-09-07 15:47:12 +02:00
j
5153c08698 remove with_statement(for 2.5) from __future__ 2016-08-23 18:12:46 +02:00
j
ce50a626dc use requests if available 2016-06-16 15:30:27 +02:00
j
4e7898ae57 avoid dict as default value 2016-06-08 15:30:25 +02:00
j
85c1e789ba cleanup cache, fix delete 2015-12-11 20:00:05 +01:00
j
d938091b26 add option delete option to cache 2015-12-11 19:27:54 +01:00
j
79df151729 dont create current dir 2014-12-09 13:11:09 +01:00
j
865e94da22 add ox.cache.get_json/ox.net.get_json, fixes #2451 2014-10-05 13:24:14 +02:00
j
970f37c38c more file open py2/3 cleanups 2014-10-02 10:34:04 +02:00
j
37dfed3143 more python3 cleanups 2014-10-02 10:28:22 +02:00
j
d4d09b56b6 use six to support python 2 and 3 2014-09-30 21:04:46 +02:00
j
92d7c210ca work around thread issues with ox.cache 2014-05-17 11:25:19 +02:00
j
8212c28ac7 handle broken headers 2014-04-23 15:38:38 +02:00
j
4ae8783d27 ignore cache if not able to load json file 2013-01-31 20:29:21 +05:30
j
3a0c35372d convert some left over readUrls to read_url 2012-09-06 13:25:57 +02:00
j
61b14e9537 add read_url debug output 2012-08-21 08:41:25 +02:00
j
62f5e84642 fix ox.cache.read_url 2012-08-17 22:20:35 +02:00
j
2de989e188 net/cache readUrl->read_url / Unicode -> unicode=True
format replace all CammelCase with under_score
2012-08-14 15:58:05 +02:00
j
2b7268157b avoid variable collision, save url 2011-11-01 22:53:36 +01:00
j
8fe8822e09 add file cache 2011-11-01 13:55:49 +01:00
j
8f826c4ac3 dont wrap data into Binary twice 2011-10-29 14:08:38 +02:00
j
e8aa6fe1e4 compress cache for html,text,css,js 2011-03-28 20:27:41 +02:00
j
eae4803cd3 import json/simplejson in one place and use that 2010-07-28 15:08:06 +02:00
j
0d354d2574 rename, use namespaces 2010-07-08 00:34:04 +02:00
j
cff20af4e7 back to oxlib, package_dir does not work with pip/python setup.py develop 2009-10-12 17:21:05 +02:00
j
8d14cf2291 change api, getUrl -> readUrl 2009-10-11 15:03:00 +02:00
j
d14f13faaf install as ox 2009-10-11 14:53:50 +02:00
Renamed from oxlib/cache.py (Browse further)