mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-09 06:55:03 +00:00
fix: httpbun dependencies removed (#6041)
* fix: standardize URL formatting in insomnia test files * feat: add mix router for handling custom redirects and cookies * fix: add validation for redirect count to prevent infinite loops * fix: update test URLs to use local server and add query parameters for improved testing
This commit is contained in:
@@ -5,16 +5,22 @@ meta {
|
||||
}
|
||||
|
||||
get {
|
||||
url: https://httpbun.com/mix/s=302/c=foo:bar/r=https%3A%2F%2Fhttpbun.org%2Fget
|
||||
url: http://localhost:8081/api/mix?s=302&c=foo:bar&r=http://127.0.0.1:8081/query
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:query {
|
||||
s: 302
|
||||
c: foo:bar
|
||||
r: http://127.0.0.1:8081/query
|
||||
}
|
||||
|
||||
tests {
|
||||
const jar = bru.cookies.jar()
|
||||
|
||||
const cookieData = await jar.getCookie(
|
||||
"https://httpbun.com",
|
||||
"http://localhost:8081",
|
||||
"foo"
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user