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

38 commits

Author SHA1 Message Date
Luper Rouch
b45b1f146d Return JSON representation of query string parameters in the body of /response-headers 2015-04-28 12:41:14 +02:00
Luper Rouch
5bf6df34e4 Add /response-headers endpoint 2015-04-27 20:08:39 +02:00
Eduardo Gurgel
d0f977d285 Update JSEX to exjsx 2015-02-09 21:13:20 +13:00
jordan0day
4eb0871cef add a stream-bytes/:n endpoint & tests 2015-01-19 13:48:47 -06:00
Jordan Day
dc7a819abc add support for chunked request bodies, fix a few test names 2015-01-11 22:31:46 -06:00
jordan0day
16eff596f1 add support for multipart/form-data POST,PUT,PATCH similar to httpbin's 2015-01-10 21:09:10 -06:00
Eduardo Gurgel
dac364cd7d Add /gzip endpoint
It closes #6
2014-11-27 22:05:32 +13:00
Eduardo Gurgel
a48c92cc16 Fix typo on redirect_handler_test
[ci skip]
2014-07-03 08:04:07 +12:00
Eduardo Gurgel
296e58a3b5 Update Elixir 0.14.1 2014-06-24 21:35:13 +12:00
Eduardo Gurgel
96a4d76e3c Support multiple values same key on /get 2014-05-18 16:11:10 +12:00
Aleksei Magusev
9ee0aa4ce1 Use Base module for conversions and handle bad requests gracefully 2014-05-06 02:18:56 +04:00
Eduardo Gurgel
44c7c9b69b Add /cache 2014-05-02 21:48:21 +12:00
Eduardo Gurgel
6978ab9a59 Update to Elixir 0.13.1 2014-04-28 22:58:45 +12:00
Eduardo Gurgel
8cc78f1a4d Update to Elixir 0.12.3 2014-02-08 12:37:07 -03:00
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
ea35bc4c5a Add '/base64/:value' 2014-01-22 16:00:59 -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
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