"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/e2e/test_202_trailer.py" between
mod_http2-1.15.16.tar.gz and mod_http2-1.15.17.tar.gz

About: mod_h[ttp]2 is an Apache httpd module implementing the HTTP2 protocol. It uses nghttp2 as base engine and connects it with the Apache infrastructure. Hint: Module (previous name "mod_h2") now integrated into Apache httpd (since v2.4.17). Experimental release.

test_202_trailer.py  (mod_http2-1.15.16):test_202_trailer.py  (mod_http2-1.15.17)
skipping to change at line 102 skipping to change at line 102
r = TestEnv.nghttp().upload(url, fpath, options=[ "--trailer", "test: 2" ]) r = TestEnv.nghttp().upload(url, fpath, options=[ "--trailer", "test: 2" ])
assert 200 == r["response"]["status"] assert 200 == r["response"]["status"]
assert "1" == r["response"]["trailer"]["h2-trailers-in"] assert "1" == r["response"]["trailer"]["h2-trailers-in"]
# Check that we can send and receive trailers throuh mod_proxy_http2 # Check that we can send and receive trailers throuh mod_proxy_http2
def test_202_06(self): def test_202_06(self):
url = TestEnv.mkurl("https", "cgi", "/h2proxy/.well-known/h2/state") url = TestEnv.mkurl("https", "cgi", "/h2proxy/.well-known/h2/state")
fpath = os.path.join(TestEnv.GEN_DIR, "data-1k") fpath = os.path.join(TestEnv.GEN_DIR, "data-1k")
r = TestEnv.nghttp().upload(url, fpath, options=[ "--trailer", "test: 2" ]) r = TestEnv.nghttp().upload(url, fpath, options=[ "--trailer", "test: 2" ])
assert 200 == r["response"]["status"] assert 200 == r["response"]["status"]
assert "1" == r["response"]["trailer"]["h2-trailers-in"] assert 'trailer' in r["response"]
assert "1" == r["response"]['trailer']["h2-trailers-in"]
 End of changes. 1 change blocks. 
0 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)