You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: [MCP] browser_route silently drops headers when mocking response with status or body #43245
When configuring a mock route with browser_route using status or body, custom response headers supplied in headers: ["Name: Value"] are silently ignored and never returned in the fulfilled mock response.
For example, when configuring a mock route with custom response headers or CORS headers:
headers: addHeaders is omitted from the options passed to route.fulfill(), discarding all specified response headers.
Expected behavior
When fulfilling a mock response, headers: addHeaders should be passed to route.fulfill() so that custom response headers (CORS headers, cache headers, auth headers) are returned to the caller.
Activity
chore: mark v0.1.23 (#494)