http_static: make max-age configurable
Type: improvement Change-Id: I629add6e3f4219d56610c3785013f69dbe847844 Signed-off-by: Adrian Villin <avillin@cisco.com>
This commit is contained in:

committed by
Florin Coras

parent
3601b322a0
commit
86fa943725
@@ -63,11 +63,13 @@ class TestHttpStaticVapi(VppAsfTestCase):
|
||||
"exec",
|
||||
"HttpStatic",
|
||||
"curl",
|
||||
"-v",
|
||||
f"10.10.1.2/{self.temp.name[5:]}",
|
||||
],
|
||||
capture_output=True,
|
||||
)
|
||||
self.assertIn(b"Hello world", process.stdout)
|
||||
self.assertIn(b"max-age=600", process.stderr)
|
||||
|
||||
self.temp2.seek(0)
|
||||
process = subprocess.run(
|
||||
|
Reference in New Issue
Block a user