- From: Anne van Kesteren <notifications@github.com>
- Date: Mon, 19 Dec 2022 05:56:49 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 19 December 2022 13:57:01 UTC
With the notable exception of https://console.spec.whatwg.org/ standards don't do a lot of active work around debugging. Stringification of URL objects is there because it helps when writing code. That's why it has `toJSON()` as well. Some kind of approximate stringification of `Headers`, `Request`, and `Response` would not I think. `toJSON()` for `Headers` could be reasonable though. Just have to make sure we properly account for `Set-Cookie` when designing that. `console.log()` for these objects providing a richer experience also seems quite reasonable. Perhaps the Console Standard can help with that somehow? cc @domfarolino -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/1575#issuecomment-1357708968 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/issues/1575/1357708968@github.com>
Received on Monday, 19 December 2022 13:57:01 UTC