On Mon, Jun 10, 2013 at 9:49 PM, Gregg Caines <[email protected]> wrote:

> Good start.  Is there any reason you don't try for node-style request and
> response streams as an interface?
>

Because node style streams are a fairly complex interface and I use this in
the browser too.  No need to bring over such a large API.


>
> Also, this just looks like the server side of things (decoding requests /
> encoding responses).  Is that right?  Any plans for the client side?
>

Yes, I especially need client-side for git clone and push over http.


>
> Thanks,
>
> G
>
>
> On Mon, Jun 10, 2013 at 7:04 PM, Tim Caswell <[email protected]> wrote:
>
>> The core http parser is exposed via the private APIs just look at the
>> source of http.js in node's source.  I will warn however that it does seem
>> to change between versions as the node core team tries to make every
>> release faster than the last.
>>
>> I've written a couple pure-js http parsers, they are not complete yet
>> though.  If you use my latest one, I'll keep on working on it since I need
>> it for my js-git project.
>>
>> https://github.com/creationix/http-codec
>>
>>
>> On Mon, Jun 10, 2013 at 6:09 PM, Daniel Rinehart <[email protected]>wrote:
>>
>>> One of the common recommended packages is:
>>> https://github.com/substack/node-parsley
>>>
>>>
>>> -- Daniel R. <[email protected]> [http://danielr.neophi.com/]
>>>
>>>
>>> On Mon, Jun 10, 2013 at 6:07 PM, Gregg Caines <[email protected]> wrote:
>>>
>>>> Does anyone know if the core lib exposes the http parser somehow?  Or
>>>> if there's a package on npm worth using for http parsing?  I saw a few
>>>> packages but they look mostly abandoned.
>>>>
>>>> I'm looking for something smart enough to handle real (and trickier)
>>>> requests, like chunked encoding.
>>>>
>>>> Thanks!
>>>>
>>>> G
>>>>
>>>> --
>>>> --
>>>> Job Board: http://jobs.nodejs.org/
>>>> Posting guidelines:
>>>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>>>> You received this message because you are subscribed to the Google
>>>> Groups "nodejs" group.
>>>> To post to this group, send email to [email protected]
>>>> To unsubscribe from this group, send email to
>>>> [email protected]
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>>>
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "nodejs" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>>
>>>>
>>>
>>>  --
>>> --
>>> Job Board: http://jobs.nodejs.org/
>>> Posting guidelines:
>>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>>> You received this message because you are subscribed to the Google
>>> Groups "nodejs" group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "nodejs" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>>  --
>> --
>> Job Board: http://jobs.nodejs.org/
>> Posting guidelines:
>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>> You received this message because you are subscribed to the Google
>> Groups "nodejs" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "nodejs" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/nodejs/riob-diPHSw/unsubscribe?hl=en.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>>
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to