0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00
cowboy/examples
Loïc Hoguin 5a171d0f80 Remove process_post, post_is_create, create_path, created_path callbacks
Instead it will always go through content_types_accepted and it is
up to the resource code to do any creation and to return the created
path if the method is POST and the client should be redirected to the
created resource's location.

This removes the meta value 'put_path' as it is not needed anymore.

This fixes an issue with PATCH where content types were not normalized.
2013-04-11 22:25:36 +02:00
..
basic_auth Improve basic_auth example 2013-02-06 21:06:39 -06:00
chunked_hello_world Make examples use the new routing 2013-01-29 14:47:17 +01:00
compress_response Make examples use the new routing 2013-01-29 14:47:17 +01:00
cookie Make examples use the new routing 2013-01-29 14:47:17 +01:00
echo_get Make examples use the new routing 2013-01-29 14:47:17 +01:00
echo_post Make examples use the new routing 2013-01-29 14:47:17 +01:00
elixir_hello_world Update Ranch to 0.8.0 2013-04-03 13:47:12 +02:00
error_hook Add an example of onresponse hooks 2013-03-01 19:54:30 -06:00
eventsource Add EventSource example 2013-02-16 02:26:32 -06:00
hello_world Make examples use the new routing 2013-01-29 14:47:17 +01:00
markdown_middleware Add an example with custom middleware 2013-02-09 13:54:08 -06:00
rest_hello_world Make examples use the new routing 2013-01-29 14:47:17 +01:00
rest_pastebin Remove process_post, post_is_create, create_path, created_path callbacks 2013-04-11 22:25:36 +02:00
rest_stream_response Add a REST example that streams its response 2013-02-12 09:44:26 -06:00
ssl_hello_world Add an SSL example 2013-03-01 16:43:19 -06:00
static_world Rename example 'static' to 'static_world' to avoid confusion 2013-01-30 22:13:31 +01:00
web_server Add a web server example 2013-02-16 02:21:54 -06:00
websocket Improve Websocket example 2013-02-09 15:38:35 +01:00
README.md Add an example of onresponse hooks 2013-03-01 19:54:30 -06:00

Cowboy Examples