When running tests for one of my libraries, I tried to print the responseHeaders from a Response and got the following:
Response headers:
TypeError: s.replace is not a function
at exports.showStringImpl (/home/thimotron/Programming/purescript-simple-request/output/Prelude/foreign.js:23
1:19)
I tracked it down to the fact that the responseHeaders in question had a "set-cookie" key with an Array String value.
When running tests for one of my libraries, I tried to print the responseHeaders from a Response and got the following:
I tracked it down to the fact that the responseHeaders in question had a "set-cookie" key with an Array String value.