[erlang-patches] Patch for packet_parser.c to Include HTTP Methods Defined in RFC 2518 / WebDAV
Sverker Eriksson
sverker@REDACTED
Fri Feb 13 20:08:41 CET 2009
Jan Lehnardt wrote:
> [...]
> CouchDB (and other implementors of HTTP extending standards) would
> benefit from the inclusion of the methods in RFC 2518. While CouchDB
> only needs COPY and MOVE (for now), adding the complete suite of
> additional HTTP methods seems sensible. Please consider the patch
> for inclusion into the next OTP release.
>
> --- a/erts/emulator/beam/packet_parser.c 2009-02-09 00:14:24.000000000
> +0100
> +++ b/erts/emulator/beam/packet_parser.c 2009-02-09 00:12:56.000000000
> +0100
> @@ -139,6 +139,13 @@
> "PUT",
> "DELETE",
> "TRACE",
> + "PROPFIND",
> + "PROPPATCH",
> + "MKCOL",
> + "COPY",
> + "MOVE",
> + "LOCK",
> + "UNLOCK",
> NULL
What do you think about the risk of applications that may break
expecting any of these methods as strings and not as atoms?
/Sverker, Erlang/OTP
More information about the erlang-patches
mailing list