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:
Abhishek S Lal
2025-11-07 21:55:33 +05:30
committed by GitHub
parent 57c08350b6
commit 3fe5299d8e
5 changed files with 49 additions and 3 deletions

View File

@@ -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"
);