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

86 commits

Author SHA1 Message Date
edgurgel
312b6723f3 mix format and replace certs 2024-06-25 21:23:13 +12:00
Nathan Youngman
d2607766b0 warning: negative steps are not supported in String.slice/2, pass 1..-1//1 instead 2024-06-25 21:22:32 +12:00
Nathan Youngman
71675f8d3d resolve compiler warnings 2024-06-25 21:21:16 +12:00
Kian-Meng, Ang
3b7d5d5eea Misc doc changes
Besides other documentation changes, this commit ensures the generated
HTML doc for HexDocs.pm will become the source of truth for this Elixir
library and leverage on latest features of ExDoc.
2021-08-30 23:08:45 +08:00
Eduardo Gurgel
1f4f716124 Fix Cowboy 2.5 upgrade issues 2019-06-30 14:44:33 +12:00
Alex S
8f179399de bumping ConCache version 2019-06-29 14:57:04 +03:00
Alex S
3f2bbe78df more fixes 2019-06-29 14:41:16 +03:00
Alex S
eedc9798bc more changes 2019-06-28 19:01:03 +03:00
Alex S
9821d9ce61 updating to cowboy 2.5.0 2019-06-28 09:34:36 +03:00
Igor de Alcantara Barroso
e355751abf
Allow to send accept header with delete request 2018-10-30 15:58:31 +01:00
Vasiliy Ermolovich
41367be61f Fix deprecation warnings for String.strip and Integer.to_char_list. 2017-11-15 11:07:19 +03:00
Hernan Veiras
9552b529c4 Fixing /ip to use client's ip when available 2017-05-20 16:34:31 -03:00
Eduardo Gurgel
944b685306 Define HTTParrot.init/1 2017-03-16 08:28:23 +13:00
steffel fenix
27aacc2580 fix elixir 1.4 warnings, update deps 2017-03-14 10:13:08 +08:00
Eduardo Gurgel
444046da94 Merge pull request #24 from jwinter/remove-alias-warning
Fix warning for unused alias for GeneralRequestInfo
2016-12-06 08:55:06 +13:00
Joe Winter
66996f4e9a Add /deflate support for deflate-encoded data 2016-12-05 14:37:19 -05:00
Joe Winter
d5e24465e7 Fix warning for unused alias for GeneralRequestInfo 2016-12-02 11:26:09 -05:00
Ricardo Hermida Ruiz
b2e8461af5 Do not support unix sockets on windows 2016-10-26 20:04:19 -02:00
Ricardo Hermida Ruiz
cebf7ad9fa Adds support for starting HTTParrot over a unix socket 2016-10-26 14:14:58 -02:00
Steffel
bbbeb1c0bd Add store and retrieve endpoints (#22) 2016-10-08 20:18:49 +13:00
Po Chen
d604cd8863 Fix warnings (#21) 2016-09-15 12:13:50 +12:00
Po Chen
3b1da703f0 fix group_by_keys (#20)
When there are more than 2 values that have the same key,
group_by_keys misbehave and produce something like
`%{list: [["a", "b"], "c"]}`
2016-09-09 09:10:22 +12:00
Eduardo Gurgel
01ee474896 Remove warnings from StreamBytesHandler 2016-06-25 13:41:46 +12:00
Eduardo Gurgel
f15dfcc16f Merge pull request #17 from bratsche/fix-group-by-warning-2
Fix group_by_keys/1 for Elixir 1.3
2016-06-24 20:22:13 -04:00
Cody Russell
6bc207baf2 Fix group_by_keys/1 for Elixir 1.3
Enum.group_by/3 is deprecated now, and it seems to be breaking some
tests. This fixes the failing doctest and the other failing test.
2016-06-21 23:49:25 -05:00
Cody Russell
5a43027214 Fix req being used in an unsafe way.
This fixes a warning that occurs in Elixir 1.3
2016-06-21 22:59:36 -05:00
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
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