Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

[HTTP Parser] Parse error on https://myopenid.com #22

Open
nsigustavo opened this issue Dec 10, 2011 · 0 comments
Open

[HTTP Parser] Parse error on https://myopenid.com #22

nsigustavo opened this issue Dec 10, 2011 · 0 comments

Comments

@nsigustavo
Copy link

var openSite = http.createClient(443, 'www.myopenid.com', true);
var req = openSite.request('GET', '/signin_password', {'host': 'www.myopenid.com'});
req.end();

Parse Error
Error: Parse Error
at Client.onData as ondata
at Client._onReadable (net.js:573:27)
at IOWatcher.onReadable (net.js:156:10)

As far as I know the http.createClient() API is deprecated and only exists for legacy support and backwards compatibility. Can you try the following code using the new http.request() API and see if you can reproduce the issue?

nodejs/node-v0.x-archive#504

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant