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

56 commits

Author SHA1 Message Date
Jordan Day
dc7a819abc add support for chunked request bodies, fix a few test names 2015-01-11 22:31:46 -06:00
Jordan Day
dbc1fc42c4 small tweak for normalize_list fn 2015-01-11 16:07:06 -06:00
Jordan Day
d5d41bff49 use list comprehensions where possible, move list normalizer into named fn 2015-01-11 15:36:47 -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
Aleksei Magusev
f49228fed2 No need in supervisor file 2014-11-03 00:47:47 +01:00
Aleksei Magusev
80562b3bbf Use Application.get(fetch)_env/3(2) functions 2014-11-02 12:24:01 +01:00
Eduardo Gurgel
bd1749e562 Use for comprehension instead of Enum.traverse 2014-08-31 11:02:00 +12:00
Eduardo Gurgel
bcce12b74c Remove unecessary new lines 2014-08-20 23:35:52 +12:00
Eduardo Gurgel
86d06dc523 Extract allowed_methods to simple macro 2014-07-22 20:33:22 +12:00
Eduardo Gurgel
fdfdb997ad Remove deprecation warnings on conversions 2014-06-24 21:37:50 +12:00
Eduardo Gurgel
97071dbb27 Update to Elixir 0.14.0 2014-06-11 20:40:04 +12:00
Eduardo Gurgel
96a4d76e3c Support multiple values same key on /get 2014-05-18 16:11:10 +12:00
Eduardo Gurgel
c9fbb3b919 Use ~W sigil where possible!
[ci skip]
2014-05-06 21:01:44 +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
34dda194f9 Add integer constraint on code (status/:code) 2014-04-18 14:12:09 +12:00
Eduardo Gurgel
d4b66503db Add '/image' 2014-02-05 14:03:15 -03:00
Eduardo Gurgel
cd6d79f8ec Remove unused alias on DenyHandler 2014-02-04 08:07:56 -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
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