Skip to content

http2: pass incoming set-cookie header as array#21360

Closed
Flarna wants to merge 1 commit intonodejs:masterfrom
Flarna:http2_set-cookie_array
Closed

http2: pass incoming set-cookie header as array#21360
Flarna wants to merge 1 commit intonodejs:masterfrom
Flarna:http2_set-cookie_array

Conversation

@Flarna
Copy link
Member

@Flarna Flarna commented Jun 15, 2018

Incoming set-cookie headers should be passed to user as array like in http module - even for single occurrence.

Besides improving compatibility between http and http2 it avoids the need to check if the type is an array or not in user code.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Regarding doc: If this PR is accepted #21296 should be updated accordingly - or doc needs to be adapted in this PR if #21296 landed meanwhile.

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

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. http2 Issues or PRs related to the http2 subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants