1
0
Fork 0
mirror of https://github.com/edgurgel/httparrot synced 2025-04-06 00:32:34 -04:00
Commit graph

20 commits

Author SHA1 Message Date
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
0e3168b4bb Fix delayed handler test 2014-01-05 22:20:34 -03:00
Eduardo Gurgel
5653bc939c Add '/delay/:n' 2014-01-05 20:32:14 -03:00
Eduardo Gurgel
c25bd1c886 Add '/stream/:n' 2014-01-05 16:36:01 -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
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
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
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
62250a5ec2 Add tests to 'prettify_json' onresponse hook 2013-12-27 19:29:30 -03:00
Eduardo Gurgel
c3eb62d2c6 Initial commit 2013-12-27 18:47:21 -03:00