mirror of
https://github.com/mtan93/cachet-url-monitor.git
synced 2026-03-08 05:31:58 +00:00
Add client header option to requests (#61)
* Add header option * Add header option * Add unit test for headers * Add client header * Remove environ for HEADER environ does not support dictionaries, so HEADER can't be passed.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
endpoint:
|
||||
url: http://localhost:8080/swagger
|
||||
method: GET
|
||||
header:
|
||||
SOME-HEADER: SOME-VALUE
|
||||
timeout: 0.01
|
||||
expectation:
|
||||
- type: HTTP_STATUS
|
||||
|
||||
Reference in New Issue
Block a user