Commit graph

195 commits

Author SHA1 Message Date
Unknown
a00798a0f5 Adjust tests to allow string keys 2018-10-16 22:57:33 +09:00
Tommi Reiman
c0201ce2f0 test parameters-interceptor 2018-09-24 20:27:42 +03:00
Tommi Reiman
b015eec2a5 for http-router too 2018-09-24 20:21:53 +03:00
Tommi Reiman
a620ec5999 Set Allow-header on default-options-handler 2018-09-24 20:19:42 +03:00
Tommi Reiman
f19aae6e77 fix #150 2018-09-23 16:42:45 +03:00
Tommi Reiman
fb95a1e303 Test top-level handler override 2018-09-23 11:27:33 +03:00
Tommi Reiman
da1cbf7121 Generate options-endpoints for ring by default 2018-09-23 10:52:17 +03:00
Tommi Reiman
158695d47b Support for top-level middleware in reitit-ring
See #143
2018-09-22 21:42:01 +03:00
Tommi Reiman
ec8727394d Ensure that #145 works 2018-09-22 21:19:44 +03:00
Tommi Reiman
34827ccf1c variadic test, related to #142 2018-09-19 19:58:42 +03:00
Tommi Reiman
872f1dbbc4 fix interceptor tests 2018-09-07 23:35:55 +03:00
Tommi Reiman
57bcf2ab44 parameters-middleware & interceptor 2018-09-07 23:07:55 +03:00
Tommi Reiman
08349e61df multipart interceptor 2018-09-07 23:07:38 +03:00
Tommi Reiman
ca02680e2d exceptions 2018-09-07 20:04:08 +03:00
Tommi Reiman
de3fc480b4 muuntaja 2018-09-07 19:50:44 +03:00
Tommi Reiman
34f0e24bb3 test interceptor call counts 2018-09-03 19:05:55 +03:00
Tommi Reiman
8cd06c2bfb drop create- from interceptors 2018-09-02 17:30:43 +03:00
Tommi Reiman
8b4f7af241 cleanup 2018-08-25 15:44:58 +03:00
Tommi Reiman
a53981d597 test just clj with http 2018-08-25 15:14:37 +03:00
Tommi Reiman
a68cafe5ce intercerptors with cps-ring 2018-08-25 14:21:11 +03:00
Tommi Reiman
4d797d0b5d transform-test 2018-08-25 13:30:54 +03:00
Tommi Reiman
3e659a2b8b more tests 2018-08-25 13:30:54 +03:00
Tommi Reiman
c1a747857f reitit-sieppari & small fixes 2018-08-25 13:30:54 +03:00
Tommi Reiman
5e7be28eb7 fn -> handler in interceptors 2018-08-25 13:28:44 +03:00
Tommi Reiman
d13dab9e32 . 2018-08-24 18:39:20 +03:00
Juho Teperi
2900e96337
Merge pull request #125 from metosin/frontend-fragment
Frontend fixes
2018-08-23 10:12:46 +03:00
Juho Teperi
0bd1b94274 Store uncoerced query-params in frontend match
This matches path-params and fragment.
2018-08-23 09:58:55 +03:00
Tommi Reiman
61f65396e7 TODO: multipart tests 2018-08-22 20:06:51 +03:00
Juho Teperi
c11d21d9ec Improve frontend tests 2018-08-22 10:47:04 +03:00
Matthew Davidson
ec051a0c9d Decode %-encoded URL path params
Also adds utility fn map-kv which is convenient for en/decoding
both maps (like path-params) and vectors (like path parts)

Converts path-params fn to use map-kv
2018-08-07 21:13:40 -04:00
Matthew Davidson
c81dad4f94 Merge master into url-decode-path-params 2018-08-05 16:36:23 -04:00
Tommi Reiman
282fa7f012 Read :headers from request :headers. not :header-params 2018-08-05 23:00:59 +03:00
Tommi Reiman
ad0ef978fb middleware docs 2018-08-02 16:20:39 +03:00
Tommi Reiman
cc00ddb97c exception mw docs 2018-08-02 16:12:32 +03:00
Tommi Reiman
4ea025dc83 more robust apidocs 2018-08-02 16:12:32 +03:00
Tommi Reiman
2ab54a1b99 Exception middleware revisited 2018-08-02 16:12:32 +03:00
Tommi Reiman
62cdfa2c52 cleanup multipart 2018-08-02 16:12:32 +03:00
Tommi Reiman
0f384c2b52 tune exceptions-middleware 2018-08-02 16:12:32 +03:00
Tommi Reiman
3a8eae6324 all muuntaja formats wrapped 2018-08-02 16:12:32 +03:00
Tommi Reiman
5c0cf19ef1 Muuntaja is a def 2018-08-02 16:12:32 +03:00
Tommi Reiman
805cb94d33 exception middleware tests 2018-08-02 16:12:32 +03:00
Tommi Reiman
fa639fc530 -alpha 2018-08-02 16:12:32 +03:00
Tommi Reiman
b54ee1a86b read encodes and decodes from Muuntaja! 2018-08-02 16:12:32 +03:00
Tommi Reiman
10ccbb72e3 wip 2018-08-02 16:12:32 +03:00
Tommi Reiman
7389838b59 mention sources 2018-08-01 19:51:54 +03:00
Tommi Reiman
bf3fb64088 query is a form-param 2018-08-01 19:43:58 +03:00
Tommi Reiman
6c23a5562a form-encode & form-decode 2018-08-01 18:57:17 +03:00
Tommi Reiman
0b4d1d2ee1 url-encode & url-decode 2018-08-01 18:08:03 +03:00
Tommi Reiman
6c47b5fa94 Welcome Interceptor registry! 2018-07-27 15:14:10 +03:00
Tommi Reiman
94431352b8 Welcome Middleware registry! 2018-07-27 15:14:00 +03:00