Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise exceptions when receiving 400-5xx responses #38

Merged
merged 23 commits into from
May 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
663d749
update HttpClient to error out by default when receiving 400-5xx resp…
BurnzZ Apr 25, 2022
0e89837
enable '*' wildcards in allow_status param
BurnzZ Apr 26, 2022
263b28b
include allow_status in execute()
BurnzZ Apr 26, 2022
b29c815
include allow_status in batch_execute()
BurnzZ Apr 26, 2022
3ebb297
reorganize the docs for additional requests
BurnzZ Apr 29, 2022
470bc6f
introduce a new base HttpError exception
BurnzZ Apr 29, 2022
cc7d258
further improve docs
BurnzZ Apr 29, 2022
38a53c9
update docs to refer to async/await instead of asyncio
BurnzZ May 6, 2022
7548cfc
Pull upstream changes from #37.
BurnzZ May 7, 2022
c5244b9
update docs to make language clear about how HttpResponseError should…
BurnzZ May 7, 2022
a209b4d
remove response as a kwarg input for HttpError and HttpRequestError
BurnzZ May 7, 2022
7cfe916
add missing param docstrings to HttpRequestError and HttpResponseError
BurnzZ May 7, 2022
50a287b
Update web_poet/exceptions/http.py docstring
BurnzZ May 7, 2022
b889fb9
update docs to follow RFC 2119
BurnzZ May 7, 2022
1401a51
update _handle_status() to spell out actual response error
BurnzZ May 7, 2022
0eefdf8
update docs regarding how HttpRequestError may be raised
BurnzZ May 7, 2022
29c4f24
Merge branch 'master' of github.com:scrapinghub/web-poet into status-…
BurnzZ May 7, 2022
ea5e5da
Update docs/advanced/additional-requests.rst
BurnzZ May 16, 2022
afb0c0f
Update docs/advanced/additional-requests.rst
BurnzZ May 16, 2022
29aa8cc
revert some terms from RFC 2119
BurnzZ May 16, 2022
9484626
add more tests
BurnzZ May 17, 2022
8b01cf7
simplify init params of http exceptions
BurnzZ May 20, 2022
43bb5d9
create default messages for Http Exceptions
BurnzZ May 20, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading