mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-11 09:51:30 +00:00
22 lines
298 B
Plaintext
22 lines
298 B
Plaintext
meta {
|
|
name: proxied
|
|
type: http
|
|
seq: 1
|
|
}
|
|
|
|
get {
|
|
url: http://localhost:19000/proxied
|
|
body: none
|
|
auth: none
|
|
}
|
|
|
|
assert {
|
|
res.status: eq 200
|
|
}
|
|
|
|
tests {
|
|
test("request was routed through system PAC proxy", function() {
|
|
expect(res.headers['x-proxied']).to.equal('test-proxy');
|
|
});
|
|
}
|