1
0
Fork 0
mirror of https://github.com/edgurgel/httparrot synced 2025-04-05 08:12:31 -04:00
Commit graph

86 commits

Author SHA1 Message Date
Eduardo Gurgel
2008fab385 Add '/cookies/set/:name/:value' reusing the same handler 2014-01-31 22:06:41 -03:00
Eduardo Gurgel
42a093cc32 Add '/relative-redirect/:n' 2014-01-30 11:27:44 -03:00
Eduardo Gurgel
059e60c3ca Use 301 instead of 307 2014-01-30 11:27:34 -03:00
Eduardo Gurgel
665eab44e5 Add '/websocket' route 2014-01-28 10:10:44 -03:00
Eduardo Gurgel
38e4fecb72 Add /robots.txt route 2014-01-26 12:09:49 -03:00
Eduardo Gurgel
4f37f29482 Copy httpbin.org index.html
[ci skip]
2014-01-26 11:48:05 -03:00
Eduardo Gurgel
0fae6c5a88 Accept HEAD and OPTIONS on /status 2014-01-26 11:45:29 -03:00
Eduardo Gurgel
1dde648320 Check if ssl is enabled before starting
[ci skip]
2014-01-24 16:39:39 -03:00
Eduardo Gurgel
2efb6e11fb Fix doc on DenyHandler
[ci skip]
2014-01-22 16:03:09 -03:00
Eduardo Gurgel
ea35bc4c5a Add '/base64/:value' 2014-01-22 16:00:59 -03:00
Eduardo Gurgel
49d747c75d Fix priv dir retrieval
[ci skip]
2014-01-18 18:52:37 -03:00
Eduardo Gurgel
fa1cccdbf1 Add '/deny' 2014-01-17 09:27:06 -03:00
Eduardo Gurgel
419b5223c9 Serve https too when application is started 2014-01-16 16:39:11 -03:00
Eduardo Gurgel
cd12a8906e Check if body is a text, JSON or binary data 2014-01-15 00:08:32 -03:00
Eduardo Gurgel
3f9387d917 Accept octet-stream and text-plain on /post /put and /patch 2014-01-14 17:37:30 -03:00
Eduardo Gurgel
bd1567d573 Add '/redirect/:n' 2014-01-07 21:01:10 -03:00
Eduardo Gurgel
5653bc939c Add '/delay/:n' 2014-01-05 20:32:14 -03:00
Eduardo Gurgel
a64303b0be Add missing stream handler! 2014-01-05 16:41:30 -03:00
Eduardo Gurgel
c25bd1c886 Add '/stream/:n' 2014-01-05 16:36:01 -03:00
Eduardo Gurgel
704b38006d Add @moduledoc for most handlers
[ci skip]
2014-01-05 12:38:20 -03:00
Eduardo Gurgel
3dba102498 Add '/hidden-basic-auth/:user/:passwd' 2014-01-05 12:29:20 -03:00
Eduardo Gurgel
869a8bd752 Add '/delete' 2014-01-04 23:31:55 -03:00
Eduardo Gurgel
6ba2efb47d Reuse PostHandler to receive patch and put requests too
PHandler will take care of /put, /post and /patch
2014-01-02 17:56:30 -03:00
Eduardo Gurgel
15ad5d5e65 Reply 'application/json' as content-type on '/post' 2014-01-02 01:29:05 -03:00
Eduardo Gurgel
28d06eac1b Add '/cookies/delete' 2014-01-02 00:32:53 -03:00
Eduardo Gurgel
f5698b9708 Add '/cookies/set' 2014-01-02 00:06:57 -03:00
Eduardo Gurgel
5b4a5e52f9 Add '/cookies' 2014-01-02 00:06:33 -03:00
Eduardo Gurgel
f4c2ee7466 Remove warnings
Unused stuff
2013-12-31 14:07:30 -03:00
Eduardo Gurgel
2e08a8b6fd Add '/basic-auth/:user/:passwd' 2013-12-31 05:44:14 -03:00
Eduardo Gurgel
a049031f67 Rewrite tests to be less integrated
Now mocking JSEX
2013-12-30 23:37:18 -03:00
Eduardo Gurgel
2f19e015b6 Add '/post'
TODO:
- [] File/upload data
- [] Invalid JSON
2013-12-30 17:23:14 -03:00
Eduardo Gurgel
859133ba58 Extract general stuff from /get /post /delete /put response
GeneralRequestInfo will take care of it
2013-12-30 17:22:19 -03:00
Eduardo Gurgel
b07b3769de Add '/html' 2013-12-28 16:27:15 -03:00
Eduardo Gurgel
c3b6c4479f Add '/redirect-to' 2013-12-28 16:03:29 -03:00
Eduardo Gurgel
e3a1d06470 Remove useless cowboy_req#reply from onresponse hook 2013-12-28 10:15:38 -03:00
Eduardo Gurgel
c3eb62d2c6 Initial commit 2013-12-27 18:47:21 -03:00