mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-15 20:01:28 +00:00
23 lines
384 B
Plaintext
23 lines
384 B
Plaintext
meta {
|
|
name: echo headers
|
|
type: http
|
|
seq: 13
|
|
}
|
|
|
|
post {
|
|
url: {{echo-host}}
|
|
body: none
|
|
auth: inherit
|
|
}
|
|
|
|
headers {
|
|
Custom-Header-String: bruno
|
|
}
|
|
|
|
tests {
|
|
test("test headers",function() {
|
|
expect(res.getHeaders()).to.have.property("Custom-Header-String".toLowerCase())
|
|
expect(res.getHeaders()).to.have.property("Custom-Header-String".toLowerCase(), "bruno")
|
|
})
|
|
}
|