0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 04:30:25 +00:00
cowboy/examples/rest_pastebin/src
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
..
rest_pastebin.app.src Add a more involved REST example 2013-02-07 11:00:26 -06:00
rest_pastebin.erl Add a more involved REST example 2013-02-07 11:00:26 -06:00
rest_pastebin_app.erl Add a more involved REST example 2013-02-07 11:00:26 -06:00
rest_pastebin_sup.erl Add a more involved REST example 2013-02-07 11:00:26 -06:00
toppage_handler.erl Remove process_post, post_is_create, create_path, created_path callbacks 2013-04-11 22:25:36 +02:00