Skip to content

Conversation

@luk-
Copy link
Contributor

@luk- luk- commented Nov 11, 2012

There have been a couple situations where I'm using this module and wishing I could quickly specify custom http headers in the options argument. This allows that. Added a test for it, existing tests pass.

@coderarity
Copy link

needs documentation, too. =D

@luk-
Copy link
Contributor Author

luk- commented Nov 11, 2012

haha, whoops, I get a little semicolon crazy trying to match your style. I'll add some docs as well

@luk-
Copy link
Contributor Author

luk- commented Nov 11, 2012

Didn't add docs because there's no programmatic usage documentation as it is.

mmalecki added a commit that referenced this pull request Nov 12, 2012
Added support to specify custom http headers
@mmalecki mmalecki merged commit a0d5419 into http-party:master Nov 12, 2012
@mmalecki
Copy link
Contributor

Merged. Thanks Luke.

@jycabrera0628
Copy link

I am trying to add csp to my website, for this I am using http-server, how can I create custom http header?

@Tofandel Tofandel mentioned this pull request Jul 23, 2021
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.

4 participants