logging feature: how could i see detailed logging of the requests that are being done for the purpose of debugging
andreidiaconescu opened this issue · 1 comments
andreidiaconescu commented
This would solve...
Now when i mage cross-fetch from node 18, i get an error: "fetch failed ... reason: Parse Error: Content-Length can't be present with Transfer-Encoding" without more details, like all headers of requests and response,
The implementation should look like...
Maybe a flag could be used to enable detailed logging
lquixada commented
Hi @andreidiaconescu ! thanks for taking the time to open this issue. The purpose of cross-fetch
is to serve as a proxy for different environment implementations of the Fetch API spec. It doesn't implement any features.
Since you're having issues on the Node env, I'd suggest reaching out to the node-fetch repo and opening a request there.