-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Support ACL (WebDAV, RFC3744, Section 8.1) #260
Conversation
Is there any other WebDAV methods that you'd like to add? ;) I'd rather do a single commit |
@indutny Next methods (related to WebDAV or other RFC) are present in another commit and need a little refactoring, so I would be glad if you could merge this one first, would be a lot more easier here :-]. |
@Hywan I was thinking about it for a couple of days now and have a suggestion. What do you think about moving parts of the method parsing state machine into separate functions? I really dislike how it blows up the main parser body. |
@indutny Could be definitively more testable, for sure. Moreover, I suspect this function to be wrong but magically works for all our usecases :-p. |
@indutny Do we have “speed-tests”? |
@Hywan kind of, |
@indutny Ok… So it's up to you to take the decision ;-). I agree to try a refactoring on my spare time. |
I'm all for it :) |
Thank you! |
What about this PR though? |
@Hywan maybe we could do it as a part of refactor? |
Actually I need it for a current project, so I would be glad if it could be merged right now and then I will include my next PR in the refactoring (as separated commits). Thoughts? |
PR-URL: #260 Reviewed-By: Fedor Indutny <[email protected]>
Here you go: eb5e992, thank you! |
Thank you so much! |
significant updates: * [[`777ba4eded`](nodejs@777ba4eded)] - **src**: introduce `http_parser_url_init` (Fedor Indutny) [nodejs/http-parser#225](nodejs/http-parser#225) * [[`e557b62744`](nodejs@e557b62744)] - **src**: support LINK/UNLINK (RFC 2068, draft-snell-link-method) (Olivier Mengué) [nodejs/http-parser#267](nodejs/http-parser#267) * [[`eb5e9928b4`](nodejs@eb5e9928b4)] - **src**: support ACL (WebDAV, RFC3744, Section 8.1). (Ivan Enderlin) [nodejs/http-parser#260](nodejs/http-parser#260) * [[`8b1d652322`](nodejs@8b1d652322)] - **src**: support BIND/REBIND/UNBIND (WebDAV, RFC5842) (Ivan Enderlin) [nodejs/http-parser#242](nodejs/http-parser#242) * [[`7d75dd7325`](nodejs@7d75dd7325)] - **src**: support IPv6 Zone ID as per RFC 6874 (Tatsuhiro Tsujikawa) [nodejs/http-parser#253](nodejs/http-parser#253)
significant updates: * [[`777ba4eded`](777ba4eded)] - **src**: introduce `http_parser_url_init` (Fedor Indutny) [nodejs/http-parser#225](nodejs/http-parser#225) * [[`e557b62744`](e557b62744)] - **src**: support LINK/UNLINK (RFC 2068, draft-snell-link-method) (Olivier Mengué) [nodejs/http-parser#267](nodejs/http-parser#267) * [[`eb5e9928b4`](eb5e9928b4)] - **src**: support ACL (WebDAV, RFC3744, Section 8.1). (Ivan Enderlin) [nodejs/http-parser#260](nodejs/http-parser#260) * [[`8b1d652322`](8b1d652322)] - **src**: support BIND/REBIND/UNBIND (WebDAV, RFC5842) (Ivan Enderlin) [nodejs/http-parser#242](nodejs/http-parser#242) * [[`7d75dd7325`](7d75dd7325)] - **src**: support IPv6 Zone ID as per RFC 6874 (Tatsuhiro Tsujikawa) [nodejs/http-parser#253](nodejs/http-parser#253) PR-URL: #3569 Reviewed-By: Brian White <[email protected]> Reviewed-By: Johan Bergström <[email protected]>
significant updates: * [[`777ba4eded`](777ba4eded)] - **src**: introduce `http_parser_url_init` (Fedor Indutny) [nodejs/http-parser#225](nodejs/http-parser#225) * [[`e557b62744`](e557b62744)] - **src**: support LINK/UNLINK (RFC 2068, draft-snell-link-method) (Olivier Mengué) [nodejs/http-parser#267](nodejs/http-parser#267) * [[`eb5e9928b4`](eb5e9928b4)] - **src**: support ACL (WebDAV, RFC3744, Section 8.1). (Ivan Enderlin) [nodejs/http-parser#260](nodejs/http-parser#260) * [[`8b1d652322`](8b1d652322)] - **src**: support BIND/REBIND/UNBIND (WebDAV, RFC5842) (Ivan Enderlin) [nodejs/http-parser#242](nodejs/http-parser#242) * [[`7d75dd7325`](7d75dd7325)] - **src**: support IPv6 Zone ID as per RFC 6874 (Tatsuhiro Tsujikawa) [nodejs/http-parser#253](nodejs/http-parser#253) PR-URL: #3569 Reviewed-By: Brian White <[email protected]> Reviewed-By: Johan Bergström <[email protected]>
This PR adds support for the following HTTP method:
ACL
http://tools.ietf.org/html/rfc3744#section-8.1.This is part of the WebDAV protocol.