0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00
Commit graph

10 commits

Author SHA1 Message Date
Loïc Hoguin
4769412daa erlang.mk now has built-in support for relx 2013-10-14 16:05:19 +02:00
Loïc Hoguin
1a4e7a8618 Fix the list of registered processes in the examples 2013-09-09 16:46:21 +02:00
Loïc Hoguin
630a805541 Convert the REST pastebin example to a release 2013-09-08 19:08:37 +02:00
Loïc Hoguin
4a30198f90 Make cowlib a proper dependency
Start moving a few functions from Cowboy into cowlib.
2013-09-04 19:24:54 +02:00
Kuk-Hyun Lee
ddbe4e53b8 Fix rest_pastebin example 2013-08-01 10:56:35 +09:00
Adam Cammack
4e29a49472 Fix rest_pastebin example
Bring the rest_pastebin example in line with REST API changes for
creating resources.
2013-04-12 12:23:33 -05:00
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
Adam Cammack
a9294e0f50 Improve pastebin example
Reject more malicious paths.
2013-02-16 02:13:19 -06:00
Loïc Hoguin
efbd913326 Merge branch 'add_rest_example' of git://github.com/acammack/cowboy 2013-02-07 18:37:15 +01:00
Adam Cammack
d7b83db92e Add a more involved REST example
A pastebin type application that can optionally highlight the output as
both text and HTML.
2013-02-07 11:00:26 -06:00