On Tue, Apr 9, 2013 at 4:56 PM, Mark Jones <[email protected]> wrote:
> I am attempting to create a CALDAV server for which node.js is a reverse
> proxy.  CALDAV has some extended (or custom) HTTP request methods and these
> seem to cause a problem in node.  The method in question for me is
> MKCALENDAR.  When I make a request with this request method in the header
> the request just seems to die with no error or response at all.
> Is there a work around for this?
>
> Thanks
>
> Mark

Custom HTTP methods aren't supported right now (but see [1]).  There
is a pull request for the http-parser component[2] but admittedly
review kind of stalled.  Mea culpa.

There are ways around the current limitation - mostly by intercepting
and rewriting the first few bytes of the request - but they require
knowledge of node.js internals and are likely to break on the next
upgrade.

Something like [3] may be a good solution for you.

[1] https://github.com/joyent/node/issues/3192
[2] https://github.com/joyent/http-parser/pull/145
[3] https://github.com/substack/node-parsley

-- 
-- 
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