1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-18 16:20:53 +02:00
Commit Graph

21 Commits

Author SHA1 Message Date
Emir Ribić
059c099762 simplify tests (#1206) 2018-10-14 12:48:44 +05:30
Vishal Rana
cb9255e775 Using httptest
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-05-13 15:44:27 -07:00
Vishal Rana
29fd5831ff Fixed test
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-02-22 15:57:12 -08:00
Vishal Rana
2aec0353f5 First commit to v3, #665
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-22 22:56:00 -07:00
Vishal Rana
86ae297e23 New redirect middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-27 13:03:40 -07:00
Russ Egan
348edc31c6 fix index out of bounds if path is empty 2016-05-31 22:12:14 -04:00
Vishal Rana
be825e0229 Refactored variable names
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-24 10:22:15 -07:00
Vishal Rana
ce80fc8ea4 Fixed middleware test cases
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-16 16:02:22 -07:00
Vishal Rana
11eafe9b90 Fixed slash middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-13 13:48:33 -07:00
Vishal Rana
909f6dacf3 Update docs
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
2016-04-13 13:28:13 -07:00
Vishal Rana
b9aa2181b0 Trailing slash middleware with option to redirect
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-12 22:39:29 -07:00
Vishal Rana
b5d6c05101 Fixed #441, #294
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-02 14:24:51 -07:00
Vishal Rana
1b3197a149 Middleware to add and remove trailing slash
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-31 12:38:48 -07:00
Vishal Rana
507c69ec80 StripTrailingSlash is now an option
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-01 08:03:01 -07:00
Vishal Rana
b4da73313f Removed RedirectToSlash middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-28 15:26:17 -07:00
Vishal Rana
a9e49e2430 Total coverage for middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-30 10:54:55 -07:00
Vishal Rana
bf85c56b08 Encapsulated fields and exposed public functions.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-22 04:40:01 -07:00
Vishal Rana
13ac746093 Refactored Echo.HandlerFunc, added WebSocket support.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-20 14:38:51 -07:00
Vishal Rana
609879bf39 Refactored tests
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-16 12:49:01 -07:00
Vishal Rana
f5a385b547 Middleware with options
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-14 16:25:49 -07:00
Vishal Rana
54cad1ff14 Added slash middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-13 23:07:03 -07:00