Open
Description
I noticed, while adding responseHeaders
to error objects (https://github.com/mikeal/bent/pull/93/files), that the Node and Browser implementations differ in what the responses return. On Browser (unless I’m missing something), I couldn’t see the same details in the response objects as on Node. (For example, no header information.)
Not having looked at depth into the underlying Browser implementation, I’m wondering:
- Should bent be split into two modules (node, browser) with different expectations
- Should the browser and node implementations be made to match perfectly (if possible)
Thoughts?
(This is not a huge issue for me personally and definitely not a hill I wish to die on as I’m only using it in Node but I’m assuming it might be confusing for folks who use it in both Node and Browser if they encounter different behaviour.)
Please feel free to close if not a priority for project goals.
Metadata
Metadata
Assignees
Labels
No labels