Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 1 addition & 2 deletions tests/gold_tests/h2/gold/httpbin_1_stderr.gold
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
``
< HTTP/2 200 ``
``
< content-type: application/octet-stream
< content-length: 0
< date: ``
< content-length: ``
< age: ``
< via: ``ApacheTrafficServer/``
< server: ATS/``
Expand Down
2 changes: 1 addition & 1 deletion tests/gold_tests/h2/gold/httpbin_access.gold
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[``] GET http://127.0.0.1:``/get HTTP/1.1 http/2 `` `` TCP_MISS 200 ``
[``] GET http://127.0.0.1:``/bytes/0 HTTP/1.1 http/2 `` `` TCP_MISS 200 1
[``] GET http://127.0.0.1:``/bytes/0 HTTP/1.1 http/2 `` `` TCP_MISS 200 0
[``] GET http://127.0.0.1:``/stream-bytes/102400?seed=0 HTTP/1.1 http/2 `` `` TCP_MISS 200 102400
``
3 changes: 1 addition & 2 deletions tests/gold_tests/h2/httpbin.test.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@
test_run.StillRunningAfter = httpbin

# Test Case 1: Attempt an empty response body.
# Note: go-httpbin incorrectly returns a body of 1 byte instead of 0 bytes.
# https://github.com/mccutchen/go-httpbin/issues/112
# This test case requires go-httpbin@v2.6.0 or later.
test_run = Test.AddTestRun()
test_run.Processes.Default.Command = 'curl -vs -k --http2 https://127.0.0.1:{0}/bytes/0'.format(ts.Variables.ssl_port)
test_run.Processes.Default.ReturnCode = 0
Expand Down