Skip to content

Separates response headers and cookies into two API methods:#8

Merged
paf31 merged 1 commit into
purescript-node:masterfrom
kika:master
Aug 14, 2016
Merged

Separates response headers and cookies into two API methods:#8
paf31 merged 1 commit into
purescript-node:masterfrom
kika:master

Conversation

@kika

@kika kika commented Jul 31, 2016

Copy link
Copy Markdown
Contributor

responseHeaders and responseCookies because headers have type
String while cookies are Array String
Fixes #4

This PR is an API change, but apparently quite a safe one, anyone who tried to use original responseHeaders to retrieve cookies was getting unhandled runtime exception anyway.

  `responseHeaders` and `responseCookies` because headers have type
  String while cookies are Array String
  Fixes #4
@paf31

paf31 commented Jul 31, 2016

Copy link
Copy Markdown
Contributor

👍 Thanks, I think this is the right approach.

@paf31 paf31 merged commit f1d7a38 into purescript-node:master Aug 14, 2016
@paf31

paf31 commented Aug 14, 2016

Copy link
Copy Markdown
Contributor

Thanks, and sorry for the delay!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants