When using HTTPHeaders in an attempt to modify the user agent, htmltest panics when reading the options I've specified even through I believe it's the correct YAML structure
Steps to reproduce the behaviour:
Run htmltest -l 0 with the configuration file below
Observe the panic
.htmltest.yml
HTTPHeaders:
User-Agent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36"
Expected behaviour
htmltest to run with the custom header I've set in the configuration file.
Actual behaviour
It immediately panics when reading the configuration file, and the debug output isn't shown either
When using
HTTPHeaders
in an attempt to modify the user agent, htmltest panics when reading the options I've specified even through I believe it's the correct YAML structureSteps to reproduce the behaviour:
htmltest -l 0
with the configuration file below.htmltest.yml
Expected behaviour
htmltest to run with the custom header I've set in the configuration file.
Actual behaviour
It immediately panics when reading the configuration file, and the debug output isn't shown either
Versions