index
:
~steering
/
bitbot.git
this commit
master
Unnamed repository; edit this file 'description' to name the repository.
steering7253
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
utils
/
http.py
Commit message (
Collapse
)
Author
Age
Files
Lines
...
*
still default to iso-latin-1 if no on-page or in-header content-type is present
jesopo
2019-09-09
1
-1
/
+1
|
*
only look for <meta>-related tags when there are meta tags
jesopo
2019-09-09
1
-9
/
+11
|
*
add explicit None return for _find_encoding (mypy)
jesopo
2019-09-09
1
-0
/
+1
|
*
change utils.http.request to best-effort detect on-page encoding
jesopo
2019-09-09
1
-2
/
+34
|
|
|
|
closes #113
*
correctly qualify DeadlineExceededException namespace
jesopo
2019-09-03
1
-1
/
+1
|
*
use utils.deadline() in utils.http.request, not raw sigalrm
jesopo
2019-09-02
1
-18
/
+15
|
*
Pass the content of a webpage to HTTPParsingException
jesopo
2019-09-02
1
-2
/
+2
|
*
use \S+ for url regex (for non-ascii chars), use url_sanitize to catch <>
jesopo
2019-09-02
1
-9
/
+12
|
*
Allow bypass of content-type check in utils.http.request
jesopo
2019-08-05
1
-3
/
+3
|
*
not all HTTP responses have content-type
jesopo
2019-08-02
1
-1
/
+1
|
*
asyncio.gather -> asyncio.wait (with timeout)
jesopo
2019-07-08
1
-1
/
+1
|
*
tell asyncio.gather which loop to use
jesopo
2019-07-08
1
-1
/
+1
|
*
close event loop when we're done with it (request_many())
jesopo
2019-07-08
1
-1
/
+2
|
*
Don't try/except async http exceptions
jesopo
2019-07-08
1
-5
/
+1
|
*
switch request_many() to use asyncio.gather
jesopo
2019-07-08
1
-14
/
+18
|
*
catch async exceptions in utils.http.request_many()
jesopo
2019-07-08
1
-1
/
+6
|
*
add missing schema in utils.http.sanitise_url, use in rss.py
jesopo
2019-07-08
1
-0
/
+3
|
*
switch to using asyncio's event loop
jesopo
2019-07-08
1
-6
/
+7
|
*
implement utils.http.request_many as a tonado ioloop yield
jesopo
2019-07-08
1
-1
/
+19
|
*
url_validate() -> url_sanitise()
jesopo
2019-07-02
1
-1
/
+1
|
*
Add utils.http.url_validate() for best-effort url tidying
jesopo
2019-07-02
1
-0
/
+16
|
*
message arg for HTTPWrongContentTypeException/HTTPParsingException
jesopo
2019-06-28
1
-5
/
+5
|
*
Give descriptions to utils.http.HTTPException subclasses
jesopo
2019-06-27
1
-2
/
+6
|
*
add `allow_redirects` kwarg to utils.http.request()
jesopo
2019-06-26
1
-0
/
+2
|
*
Defer decoding http payload bytestring until after checking ContentType
jesopo
2019-06-04
1
-2
/
+5
|
*
Pass str object to BeautifulSoup, not bytes. closes #56
jesopo
2019-05-28
1
-4
/
+3
|
*
forgot the beautiful %
Patrick Nappa
2019-05-03
1
-1
/
+1
|
*
ensure that non-url characters not separated by whitespace aren't consumed
Patrick Nappa
2019-05-03
1
-1
/
+1
|
*
Add missing ":"
jesopo
2019-04-25
1
-1
/
+1
|
*
Support interfaces that don't have AF_INET and/or AF_INET6
jesopo
2019-04-25
1
-1
/
+4
|
*
Refuse to get the title for any url that points locall
jesopo
2019-04-25
1
-2
/
+30
|
*
Move REGEX_URL out of isgd.py and title.py in to utils.http
jesopo
2019-04-24
1
-1
/
+2
|
*
Raise a specific exception in utils.http.request for "wrong content type"
jesopo
2019-02-28
1
-1
/
+4
|
*
Throw ValueError when utils.http.request tries to soup non-html/xml data
jesopo
2019-02-27
1
-3
/
+6
|
*
Don't try to parse non-html/xml stuff with BeautifulSoup
jesopo
2019-02-26
1
-1
/
+4
|
*
Typo in utils.http.request, 'response_heders' -> 'response_headers'
jesopo
2018-12-11
1
-1
/
+1
|
*
Pass a `dict` to utils.CaseInsensitiveDict, not a MutableMapping
jesopo
2018-12-11
1
-1
/
+1
|
*
Add missing `utils` import in utils.http
jesopo
2018-12-11
1
-0
/
+1
|
*
'utils.http.get_url' -> 'utils.http.request', return a Response object from
jesopo
2018-12-11
1
-10
/
+16
|
|
|
|
utils.http.request
*
Fix/refactor issues brought up by type hint linting
jesopo
2018-10-30
1
-2
/
+2
|
*
Add type/return hints throughout src/ and, in doing so, fix some cyclical
jesopo
2018-10-30
1
-5
/
+6
|
|
|
|
references.
*
signal.signal timer callback takes 2 args
jesopo
2018-10-25
1
-1
/
+1
|
*
Add fallback_encoding to utils.http.get_url, in case a page has no implicit
jesopo
2018-10-10
1
-2
/
+3
|
|
|
|
encoding
*
.decode data prior to json.loads in utils.http.get_url
jesopo
2018-10-10
1
-2
/
+1
|
*
Fix syntax error for throwing a timeout when signal.alarm fires
jesopo
2018-10-10
1
-1
/
+3
|
*
.decode plaintext returns from utils.http.get_url
jesopo
2018-10-10
1
-0
/
+1
|
*
Use signal.alarm to Deadline utils.http.get_url and throw useful exceptions
jesopo
2018-10-10
1
-16
/
+28
|
*
Set a max size of 100mb for utils.http.get_url
jesopo
2018-10-10
1
-3
/
+7
|
*
Change utils.http to use requests
jesopo
2018-10-10
1
-83
/
+30
|
*
Remove debug print in src.utils.http
jesopo
2018-10-09
1
-1
/
+0
|
[prev]
[next]