I am receiving following error while using Metaphor. What to do now?
_http_outgoing.js:358
throw new TypeError('The header content contains invalid characters');
^
TypeError: The header content contains invalid characters
at ClientRequest.OutgoingMessage.setHeader (_http_outgoing.js:358:11)
at new ClientRequest (_http_client.js:86:14)
at Object.exports.request (http.js:31:10)
at Object.exports.request (https.js:199:15)
at internals.Client.request (/xxx/xxx/xxx/xxx/node_modules/wreck/lib/index.js:158:24)
at options.beforeRedirect (/xxx/xxx/xxx/xxx/node_modules/wreck/lib/index.js:206:38)
at formatCookies (/xxx/xxx/xxx/xxx/node_modules/metaphor/lib/index.js:103:28)
at cookies.forEach (/xxx/xxx/xxx/xxx/node_modules/metaphor/lib/index.js:115:28)
at Array.forEach (native)
at Object.beforeRedirect (/xxx/xxx/xxx/xxx/node_modules/metaphor/lib/index.js:111:25)
at ClientRequest.onResponse (/xxx/xxx/xxx/xxx/node_modules/wreck/lib/index.js:204:24)
at ClientRequest.g (events.js:291:16)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:474:21)
at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23)
I have also checked this but don't find exact solution for Metaphor.
via user54858
No comments:
Post a Comment