Flags
Insecure#
In local development environments, self-signed certificates are often used. By default, dothttp verifies certificates. However, you can bypass this verification by using @insecure after @name.
Insecure flag also lets child/grand child reqeust to extend system-command properties. check properties section for more information.
Use @insecure after @name
Example#
Clear#
To clear all session variables, simply add @clear after @name.
Example#
Proxy#
Dothttp allows us to make HTTP/HTTPS requests through a proxy using ('http.proxy', 'proxy-url') or ('https.proxy', 'proxy-url').
Example#
No Parent Script#
When executing, Dothttp typically attempts to load and execute the test script of the parent. While this behavior is advantageous in certain scenarios, there might be cases where running tests in the current target is undesirable. By employing the @no_parent_script flag, Dothttp disregards the execution of the parent script if the flag is present.