"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/e2e/test_401_early_hints.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_401_early_hints.py  (mod_http2-1.15.16):test_401_early_hints.py  (mod_http2-1.15.17)
skipping to change at line 26 skipping to change at line 26
def setup_module(module): def setup_module(module):
print("setup_module: %s" % module.__name__) print("setup_module: %s" % module.__name__)
TestEnv.init() TestEnv.init()
HttpdConf( HttpdConf(
).start_vhost( TestEnv.HTTPS_PORT, "hints", docRoot="htdocs/test1", withSSL= True ).start_vhost( TestEnv.HTTPS_PORT, "hints", docRoot="htdocs/test1", withSSL= True
).add_line(""" Protocols h2 http/1.1" ).add_line(""" Protocols h2 http/1.1"
H2EarlyHints on H2EarlyHints on
RewriteEngine on RewriteEngine on
RewriteRule ^/006-(.*)?\.html$ /006.html RewriteRule ^/006-(.*)?\\.html$ /006.html
<Location /006-hints.html> <Location /006-hints.html>
H2PushResource "/006/006.css" critical H2PushResource "/006/006.css" critical
</Location> </Location>
<Location /006-nohints.html> <Location /006-nohints.html>
Header add Link "</006/006.css>;rel=preload" Header add Link "</006/006.css>;rel=preload"
</Location> </Location>
""").end_vhost( """).end_vhost(
).install() ).install()
assert TestEnv.apache_restart() == 0 assert TestEnv.apache_restart() == 0
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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