mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-16 17:27:36 +08:00
bugfix: modify request with setup_hooks
This commit is contained in:
@@ -84,3 +84,6 @@ def teardown_hook_sleep_N_secs(response, n_secs):
|
||||
|
||||
def hook_print(msg):
|
||||
print(msg)
|
||||
|
||||
def modify_headers_os_platform(request, os_platform):
|
||||
request["headers"]["os_platform"] = os_platform
|
||||
|
||||
Reference in New Issue
Block a user