extend/cowboy — pull request #100 by talentdeficit (2011-12-10 16:40:55+00:00)
Title: webmachine style content_types_accepted

this patch changes content_types_accepted to accept webmachine style mimetypes (<<"text/plain">>, <<"application/json">>, ...).

i've changed parsing to use the cowboy_http:content_type and removed the try/catch. failure mode is now idiomatic for REST handlers.