1
0
mirror of https://github.com/httpie/cli.git synced 2025-08-10 22:42:05 +02:00

Checking headers to determine auto-streaming (#1383)

This commit is contained in:
Brian Egleston
2022-05-06 00:59:22 -06:00
committed by GitHub
parent 5e76ebc5e1
commit 9f7612cdeb
2 changed files with 9 additions and 1 deletions

View File

@@ -124,6 +124,10 @@ def test_redirected_stream(httpbin):
['Accept:text/event-stream'],
3
),
(
['Accept:text/event-stream; charset=utf-8'],
3
),
(
['Accept:text/plain'],
1