mirror of
https://github.com/httpie/cli.git
synced 2024-11-25 17:23:25 +01:00
The fix may actually be slightly more complex than I expected. We would need, at first sight, to loose the prepared requests + responses streaming. A potential solution will come in a near future.
This commit is contained in:
parent
350f973f70
commit
9792513c68
@ -19,6 +19,13 @@ def test_follow_without_all_redirects_hidden(httpbin, follow_flag):
|
||||
assert HTTP_OK in r
|
||||
|
||||
|
||||
@pytest.mark.xfail(True, reason="https://github.com/httpie/httpie/issues/1082")
|
||||
def test_follow_output_options_used_for_redirects(httpbin):
|
||||
r = http('--follow', '--print=H', httpbin.url + '/redirect/2')
|
||||
assert r.count('GET /') == 1
|
||||
assert HTTP_OK not in r
|
||||
|
||||
|
||||
def test_follow_all_output_options_used_for_redirects(httpbin):
|
||||
r = http('--check-status',
|
||||
'--follow',
|
||||
|
Loading…
Reference in New Issue
Block a user