MCPcopy
hub / github.com/httpie/cli / test_raw_request_headers_response_headers

Function test_raw_request_headers_response_headers

tests/test_tokens.py:46–48  ·  view source on GitHub ↗
(httpbin)

Source from the content-addressed store, hash-verified

44
45
46def test_raw_request_headers_response_headers(httpbin):
47 r = http('--print=Hh', httpbin + '/get', env=MockEnvironment(stdout_isatty=False))
48 assert_output_matches(r, [Expect.REQUEST_HEADERS, Expect.RESPONSE_HEADERS])
49
50
51def test_terminal_request_body_response_body(httpbin):

Callers

nothing calls this directly

Calls 3

httpFunction · 0.85
MockEnvironmentClass · 0.85
assert_output_matchesFunction · 0.85

Tested by

no test coverage detected