« Return to Thread: Patch for packet_parser.c to Include HTTP Methods Defined in RFC 2518 / WebDAV

Re: Patch for packet_parser.c to Include HTTP Methods Defined in RFC 2518 / WebDAV

by Jan Lehnardt-3 :: Rate this Message:

Reply to Author | View in Thread


On 16 Feb 2009, at 13:08, Oscar Hellström wrote:
> My approach is letting the receiving port of the code
> transform all methods to strings before actually dealing with the  
> request.

The whole idea of the patch is that there should be
no extra code to do this :) If there are more methods
that should be included, those who need it should
speak up.

Maybe `inet:setopts(Socket, [{packet, http_methods_as_lists}])`
is some middle ground?

(Note that the atom name is just to make the purpose clear :)

Cheers
Jan
--

_______________________________________________
erlang-patches mailing list
erlang-patches@...
http://www.erlang.org/mailman/listinfo/erlang-patches

 « Return to Thread: Patch for packet_parser.c to Include HTTP Methods Defined in RFC 2518 / WebDAV