Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: "value" required in setHeader("Content-Type", value) #1

Open
tripott opened this issue Aug 14, 2017 · 0 comments
Open

Error: "value" required in setHeader("Content-Type", value) #1

tripott opened this issue Aug 14, 2017 · 0 comments

Comments

@tripott
Copy link
Contributor

tripott commented Aug 14, 2017

Will submit PR to help fix.

Stack trace:

_http_outgoing.js:502
    throw new Error('"value" required in setHeader("' + name + '", value)');
    ^

Error: "value" required in setHeader("Content-Type", value)
    at validateHeader (_http_outgoing.js:502:11)
    at ServerResponse.setHeader (_http_outgoing.js:511:3)
    at ServerResponse.writeHead (_http_server.js:209:21)
    at ClientRequest.<anonymous> (/Users/wottinger/Dropbox/JRS/code/pouch-offline-api/node_modules/express-couch-proxy/index.js:68:13)
    at Object.onceWrapper (events.js:316:30)
    at emitOne (events.js:115:13)
    at ClientRequest.emit (events.js:210:7)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:564:21)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:116:23)
    at TLSSocket.socketOnData (_http_client.js:453:20)
ammmir pushed a commit that referenced this issue Aug 16, 2017
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

No branches or pull requests

1 participant