Loïc Hoguin
62de3a62f9
Update to erlang.mk 1.0.0
2014-08-01 14:26:51 +02:00
Loïc Hoguin
abcc6e96d8
Update erlang.mk and update paths to start the release
...
Fixes a couple invalid instructions at the same time.
2014-06-30 10:14:05 +02:00
Loïc Hoguin
96755dd973
No need for relx in path for examples anymore
2013-10-22 09:14:32 +02:00
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