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

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

@nsigustavo

Description

@nsigustavo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions