Skip to content
Myr

httpbin weirdness

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 2159c80 · Browse files · 1 file+0 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−5 removed

  • tests:+0 added−5 removed

1 file+0 added−5 removed

modified:tests/test_requests.py-5 removed
835 unmodified lines
836 def test_empty_response(self):837 r = requests.get(httpbin('status', '404'))838 r.text839840 def test_no_content(self):841 r = requests.get(httpbin('status', "0"), config={"safe_mode":True})842 r.content843 r.content844840if __name__ == '__main__':841 unittest.main()