pgriess/node-websocket-client — Issue #22: [HTTP Parser] Parse error on https://myopenid.com
Author: nsigustavo
Created: 2011-12-10 21:24:27+00:00
State: open

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] (http.js:894:27)
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?

https://github.com/joyent/node/issues/504