mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 12:51:54 +00:00
Fixes issue #13820 where https.request() returned "/" for response.url instead of an empty string like Node.js. The issue was that for FetchResponse type IncomingMessage objects, the url property was inheriting from the fetch Response.url which returns the pathname. Changes: - Modified IncomingMessage constructor to explicitly set url to "" for FetchResponse type - Added comprehensive tests covering various request scenarios - Ensures Node.js compatibility for response.url property 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>