1
0
mirror of https://github.com/labstack/echo.git synced 2024-11-24 08:22:21 +02:00
Commit Graph

464 Commits

Author SHA1 Message Date
Shu Kutsuzawa
e6ac0023d2 Add golint to ci (#1243)
* add golint to travis ci

* fixed based on golint

* Update echo.go
2019-01-09 15:19:48 -08:00
Charlie Bevis
1481763035 comment typo fix (#1246) 2019-01-09 15:14:26 -08:00
Vishal Rana
ba46ff80a4 Using tls-alpn for auto tls
Signed-off-by: Vishal Rana <vr@labstack.com>
2018-11-08 19:17:59 -08:00
Alexandru Ungur
ba1891b3dc Add back exported HTTP method constants (#1209) 2018-10-15 13:01:26 +05:30
Emir Ribić
c8fd197fa8 Replace http constants with stdlib ones, i.e.: http.MethodGet instead of echo.GET (#1205) 2018-10-14 20:46:58 +05:30
Gregor Noczinski
bc37a3a792 Proxy: Better errors + remote custom TLS (#1197)
Proxy will be more verbose on errors + possibility to configure custom transport (example: for custom TLS certificates)
2018-10-13 11:40:19 +05:30
Sukma Setyaji
0d93bdd2b5 Add common error variable (#1200) 2018-10-07 07:38:24 +05:30
Thuc Le
f7470482fe Support internal error when Bind() data #888 (#1164) 2018-09-28 10:41:13 -07:00
Sukma Setyaji
eb84122d4e Add error variable for too many request (#1181)
* add error variable for too many request

* update errTooManyRequests
2018-09-28 10:28:03 -07:00
Bertram Truong
1ae109c688 Expose stdLogger (#1196) 2018-09-28 10:09:35 -07:00
takaya kusanagi
31e795315a change getting method point after overriding method in premiddleware (#1182) 2018-08-28 18:50:58 -07:00
Andrei Serban
2017e5e541 logs the internal error message instead of returning it (#1173) 2018-08-02 14:11:20 -07:00
Philipp Gillé
76d8adbf2d Fix typo 2018-07-29 14:00:49 -07:00
chanxuehong
5ac8bedce8 rm unused code 2018-06-22 07:49:53 -07:00
Vishal Rana
f867058e3b Update echo.go 2018-04-16 10:20:39 -07:00
roxma
6016350b4c Allow using middleware with echo.File 2018-04-16 10:20:39 -07:00
Vishal Rana
b64e4d12c7 Removed error log from http error handler
Signed-off-by: Vishal Rana <vr@labstack.com>
2018-04-15 14:00:04 -07:00
Vishal Rana
88a865e8a2 Changed version for master branch
Signed-off-by: Vishal Rana <vr@labstack.com>
2018-04-11 11:52:24 -07:00
Vishal Rana
5b769f91b2 HTTPError#Inner to HTTPError#Internal
Signed-off-by: Vishal Rana <vr@labstack.com>
2018-04-10 12:06:31 -07:00
Alexandre Stein
37f1a470ef Replace the redirection with a direct call to url package 2018-04-03 08:40:03 -07:00
Alexandre Stein
af1bfd5397 Clean old Go versions 2018-04-03 08:40:03 -07:00
Andrew Wilkins
60f88a7a1c Export version
I'm looking into implementing tracing middleware for Echo
(https://github.com/elastic/apm-agent-go/issues/20). I'd
like to report the version of the Echo framework in use.
2018-03-21 21:42:26 -07:00
Vishal Rana
a5d81b8d4a Updated deps, removed json-iterator, fixed #1087, fixed #1086
Signed-off-by: Vishal Rana <vr@labstack.com>
2018-03-16 10:00:59 -07:00
Jeffrey Reuling (TI)
ee32e3e7fb fix issue #1086 2018-03-16 09:47:05 -07:00
Vishal Rana
7f44549f02 Separate handling for pre middleware to improve performance
Signed-off-by: Vishal Rana <vr@labstack.com>
2018-03-14 23:53:32 -07:00
Vishal Rana
20ac716d4c Using json-iterator
Signed-off-by: Vishal Rana <vr@labstack.com>
2018-03-14 20:38:46 -07:00
Vishal Rana
62d3587b6f Minor performance fixes
Signed-off-by: Vishal Rana <vr@labstack.com>
2018-03-14 14:03:59 -07:00
Vishal Rana
bdb49be734 Added PROPFIND method
Signed-off-by: Vishal Rana <vr@labstack.com>
2018-03-13 12:45:47 -07:00
Alex Ungur
27b5253bfd Release 3.3.0:
Enhancements:
    Implemented Response#After()
    Dynamically add/remove proxy targets
    Rewrite rules for proxy middleware
    Add ability to extract key from a form field
    Implemented rewrite middleware
    Adds a separate flag for the 'http/https server started on' message (#1043)
    Applied a little DRY to the redirect middleware (#1053) and tests (#1055)
    Simplify dep fetching (#1062)
    Add custom time stamp format #1046 (#1066)
    Update property name & default value & comment about custom logger
    Add X-Requested-With header constant
    Return error of context.File in c.contentDisposition
    Updated deps
    Updated README.md

Fixes:

    Fixed Response#Before()
    Fixed #990
    Fix href url from armor to echo (#1051)
    Fixed #1054
    Fixed #1052, dropped param alias feature
    Avoid redirect loop in HTTPSRedirect middleware (#1058)
    Fix deferring body close in middleware/compress test (#1063)
    Cleanup code (#1061)
    FIX - We must close gzip.Reader, only if no error (#1069)
    Fix formatting (#1071)
    Can be a fix for auto TLS
2018-03-12 13:58:01 -07:00
Vishal Rana
f32481f68c Revert "Fixed #1078"
This reverts commit 8e47545434.
2018-03-12 13:01:59 -07:00
Vishal Rana
8e47545434 Fixed #1078
Signed-off-by: Vishal Rana <vr@labstack.com>
2018-03-11 08:20:37 -07:00
Alex Ungur
9b9f4facd6 Add X-Requested-With header constant 2018-03-06 10:29:20 -08:00
Alexandre Stein
7f6c0f4fc0 Can be a fix for auto TLS 2018-03-01 12:08:34 -08:00
Vishal Rana
4f3080c197 Bit of more cleanup
Signed-off-by: Vishal Rana <vr@labstack.com>
2018-02-21 11:38:22 -08:00
Evgeniy Kulikov
f49d166e6f [FIX] Cleanup code (#1061)
Code cleanup
2018-02-21 10:44:17 -08:00
Ben Katz
c8bedd1cf9 Adds a separate flag for the 'http/https server started on' message (#1043) 2017-12-29 10:57:59 -08:00
Vishal Rana
b338075a0f Update dummy group path to include exact prefix
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-12-23 09:11:03 -08:00
Vishal Rana
8e421d9773 Fixed #1019
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-12-22 12:09:52 -08:00
Vishal Rana
0473c51f1d Released 3.2.5
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-11-22 17:58:59 -08:00
Vishal Rana
b5de47f165 Send error details when Echo#Debug is true, #817
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-09-21 08:46:47 -07:00
Vishal Rana
b7c4ccf8f3 Fixed typo
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-09-19 22:15:12 -07:00
Vishal Rana
1678da53d6 Closes #1006
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-09-08 08:48:23 -07:00
Vishal Rana
7dfec7e641 Custom jwt errors (#999)
* Custom error for jwt
* New field `inner` in HTTPError to store error from external dependency

Signed-off-by: Vishal Rana <vr@labstack.com>
2017-08-31 09:18:42 -07:00
Vishal Rana
57bf87258f Fixed #995
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-08-24 08:27:15 -07:00
Vishal Rana
a26bc31e27 Setting log level to ERROR
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-08-17 19:46:17 -07:00
Nick Law
e0ea129c5c Expose echo.Add() for dynamic route registration (#965) 2017-07-03 19:10:58 -07:00
Vishal Rana
ee85b46a05 Changed signature for response before func
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-06-29 10:59:21 -07:00
Vishal Rana
f96c973a25 Fixed #176, closed #831
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-06-28 17:01:48 -07:00
Vishal Rana
7c614588bc Updated github issue template
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-06-22 11:27:49 -07:00
Miha Valencic
c04b028852 Support route naming and generating URLs based on route names (#960)
* Route registration methods return Route object

* Renamed Route#Handler to Route#Name

* Adding route return value to Any, Match, Static and File methods.
2017-06-22 10:59:02 -07:00
Vishal Rana
935a60782c Missed version label
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-06-21 08:07:43 -07:00
Vishal Rana
687f05470a Zhaojkun httperror message (#959)
* Change echo http error message

* Add test case

* Fixed test cases

Signed-off-by: Vishal Rana <vr@labstack.com>
2017-06-20 08:58:53 -07:00
Vishal Rana
dc0f2d7327 Fixed url.PathUnescape for go1.7
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-06-07 08:57:31 -07:00
Vishal Rana
c05db06020 Fixed #947, closes #948
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-06-07 08:23:43 -07:00
Vishal Rana
bd96cc3c15 Fixed #947
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-06-06 14:59:35 -07:00
Vishal Rana
c3887ebb13 Added Context#IsWebSocket(), proxy fix header
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-06-04 10:39:08 -07:00
TossPig
353a2f8b78 Get The HeaderXForwardedProto (#941)
* Get The HeaderXForwardedProto

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto

* add HeaderXForwardedSsl

* Get The HeaderXForwardedSsl
2017-06-04 09:41:17 -07:00
Vishal Rana
0898d9e68b Exposed proxy balancer interface
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-06-03 17:37:35 -07:00
Vishal Rana
3359eae306 Add json tags to route struct
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-05-16 16:29:33 -07:00
Vishal Rana
8f5fb6395a Dropping mutex from ServeHTTP
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-05-13 14:12:35 -07:00
Vishal Rana
0e134ee37c Closes #928
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-05-12 10:47:24 -07:00
Vishal Rana
1302a08009 Fixed #925
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-05-10 10:28:50 -07:00
Vishal Rana
eac431df0d Error forbidden
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-03-19 18:18:53 -07:00
Vishal Rana
b2430fc4a8 Fixed #878
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-03-15 12:11:47 -07:00
Vishal Rana
4b4a09fd31 Using random.String() for generating id
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-03-06 13:39:36 -08:00
Vishal Rana
b218599906 Fixed #864 (#865)
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-02-28 12:04:29 -08:00
Vishal Rana
049518f8c4 Fixed static middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-02-23 12:27:48 -08:00
Vishal Rana
29fd5831ff Fixed test
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-02-22 15:57:12 -08:00
Vishal Rana
d259f88324 Enabled security while serving static files
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-02-22 14:21:28 -08:00
Vishal Rana
70be2c2f87 Fixed import path
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-02-19 19:40:18 -08:00
Vishal Rana
c7c4395fbd Fixed #794
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-31 13:55:39 -08:00
Vishal Rana
8fec907eec Mutex to dynamically make changes (#828)
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-24 10:48:11 -08:00
Vishal Rana
4772b6e7f7 Removed port check from auto tls
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-24 10:46:35 -08:00
Vishal Rana
7025f55cab Error for non 443 port for auto tls
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-23 15:39:19 -08:00
Vishal Rana
900a463715 Fixed #817
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-21 10:40:11 -08:00
Vishal Rana
069e80b9e0 Mention about custom listener
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-18 12:17:44 -08:00
Vishal Rana
b2c623b07d Fixed a typo
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-15 17:11:04 -08:00
Vishal Rana
093edb39ab Removed banner
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-15 12:56:35 -08:00
Vishal Rana
736d153c29 Startup banner 2017-01-14 12:49:58 -08:00
Vishal Rana
db8b2ce62c Fixed port display
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-14 09:22:30 -08:00
Vishal Rana
9797cf4b9c gc
Removed graceful shutdown, fixed #797

Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-13 18:40:27 -08:00
Vishal Rana
a09afe2c97 Fixed #798
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-11 15:18:04 -08:00
Vishal Rana
412823eabb Added key auth middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-02 20:12:06 -08:00
Vishal Rana
6e107bc897 Not sending internal errors
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-29 08:19:52 -08:00
Vishal Rana
039394fdbc Updated deps
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-25 21:42:46 -08:00
Vishal Rana
dc92c26084 exposed read timeout, write timeout properties, updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-15 18:44:06 -08:00
Vishal Rana
01334bc7b2 enabled validator, updated docs, fixed #298, fixed #438, fixed #305
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-12 17:19:41 -08:00
Vishal Rana
70b5cfbb26 fixed http error handler
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-11 14:57:14 -08:00
Vishal Rana
8f0d340f34 fixed default http error handler to send err detail
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-11 13:06:36 -08:00
Vishal Rana
5706940bc8 HTTPError#Message is now interface
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-10 22:05:41 -08:00
Vishal Rana
0e7a9c1d49 exposed default binder, tag for binding query params
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-10 09:06:29 -08:00
Vishal Rana
95e1bd485f fixed #766
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-08 13:55:43 -08:00
Vishal Rana
8d504c1b69 issue: fixed #755 (#758)
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-02 09:28:18 -08:00
Vishal Rana
73110004ef doc: updated, recipe: auto tls
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-28 20:34:29 -08:00
Vishal Rana
cd2530ea09 updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-22 08:19:27 -08:00
Jonathan Hall
d4dff985fa Minor documentation correction (#742) 2016-11-21 09:43:14 -08:00
Vishal Rana
b358b06311 updated docs, closes #735
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-17 16:21:41 -08:00
Vishal Rana
43e95a6924 fixed docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-15 00:00:57 -08:00
Vishal Rana
6ead4be761 fixed #719
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-12 11:35:46 -08:00
Vishal Rana
0fca54f389 updated docs, readme and benchmark tests
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-12 09:47:49 -08:00
Vishal Rana
97bf17556c fixed tls
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-05 07:33:44 -07:00
Vishal Rana
00ae708f49 moved log message to start server
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-04 20:58:30 -07:00
Vishal Rana
409c5a42b7 refactored start server functions
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-04 18:51:17 -07:00
Vishal Rana
891d8519d7 fixed #701
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-30 15:03:18 -07:00
Vishal Rana
b12790607e recipes: static middleware changes
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-25 16:30:44 -07:00
Vishal Rana
a5024b8038 fixed #685
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-24 08:21:36 -07:00
Vishal Rana
17c8b8f2ea logger new api, updated recipes
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-23 13:37:04 -07:00
Vishal Rana
36251e88e2 router changes
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-21 20:36:49 -07:00
Vishal Rana
be7d6962f0 fix for #681
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-21 12:49:08 -07:00
Vishal Rana
093e5c9ed6 updated recipes
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-20 16:57:31 -07:00
Vishal Rana
edd558a5ca fixed build for recipes
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-20 11:51:15 -07:00
Vishal Rana
d72b8b8b64 fixed docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-20 09:10:10 -07:00
Vishal Rana
0eb7c42aa1 fixed #680
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-18 13:11:07 -07:00
Vishal Rana
60ce130499 generic map Map
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-13 16:45:27 -07:00
Vishal Rana
2eb87f8036 param wildcard capture fixed to *
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-10 18:36:48 -07:00
Vishal Rana
8623669cbc removed Context#P()
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-10 18:22:13 -07:00
Vishal Rana
15eb5b0aad removed embedded context and exposed SetRequest in context
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-10 17:31:26 -07:00
Vishal Rana
4de38c07d1 Fixed imports
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-28 10:33:58 -07:00
Vishal Rana
152be1aaff Fixed #580
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-25 19:48:15 -07:00
Vishal Rana
0349e883f5 Moved logger to root
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-25 13:14:18 -07:00
Vishal Rana
335b1d0622 Custom logger for graceful
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-25 11:56:51 -07:00
Vishal Rana
dd22cf9593 Updated deps
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-25 11:41:08 -07:00
Vishal Rana
26c35d8f74 Fixed tls config
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-24 22:36:53 -07:00
Vishal Rana
17d59627a8 Separated tlsconfig
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-24 22:01:38 -07:00
Vishal Rana
fc8c033f3c Log message for starting server
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-24 20:50:35 -07:00
Vishal Rana
d069d9b3a9 Test cased for Echo#Start/Shutdown
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-24 17:50:38 -07:00
Vishal Rana
59e812f7b9 Separated tls and http server
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-24 17:19:50 -07:00
Vishal Rana
7a7b394f14 Using graceful by default
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-24 16:19:38 -07:00
Vishal Rana
ed3c611321 Using same Server instance for http and tls
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-23 13:31:33 -07:00
Vishal Rana
fe459537b7 Playing with tls, ports and friends
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-23 11:29:50 -07:00
Vishal Rana
73af8e04cd Run to start, exposed tls config
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-23 08:29:16 -07:00
Vishal Rana
7f60fcda63 WebSocket API
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-23 05:55:27 -07:00
Vishal Rana
1ceb2662ba Wrap handler and middleware functions
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-23 05:31:48 -07: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
322b375a37 Issue 655 (#657)
* Closes #655, closes #649

Signed-off-by: Vishal Rana <vr@labstack.com>

* Added http/1.1 to the list
2016-09-12 06:18:58 -07:00
Vishal Rana
18b9e23ace Closes #364
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-18 11:27:37 -07:00
Vishal Rana
50fed083a7 Fixed #608
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-02 13:11:12 -07:00
Vishal Rana
b23e7c090a Revert "Revert "closes #605", closes #606"
This reverts commit a75cbc85f8.
2016-07-27 09:11:18 -07:00
Vishal Rana
a75cbc85f8 Revert "closes #605", closes #606
This reverts commit eed456ee87.
2016-07-27 09:04:41 -07:00
Vishal Rana
eed456ee87 closes #605
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-07-26 10:06:14 -07:00
Vishal Rana
451b2ccc9f Exposed error handlers
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-07-05 08:43:46 -07:00
Russ Egan
2eb5d97b19 Fix issue with middleware from one route leaking into the middleware of other routes
Fixed #565

Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-16 07:29:25 -07:00
Vishal Rana
f4088cf594 Added JSON logging
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-08 17:16:03 -07:00
Vishal Rana
a0bc02815f Fixed #551 2016-06-06 16:56:09 -07:00
Vishal Rana
4e98fa9664 Fixed #500
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-06 09:47:22 -07:00
Vishal Rana
d0ed5830c4 Test coverage for cookie.go and context.go
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-05 22:25:34 -07:00
Vishal Rana
09a2ce60a6 About context #500
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-05 13:47:59 -07:00
Ollie Phillips
c71ecb845c For consistency, added additional header constant for 'Allow' named 'HeaderAllow', which is missing when forming responses to OPTIONS method requests 2016-06-02 21:40:21 +01:00
Vishal Rana
0d2dac7532 Fixed #536
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-31 20:59:52 -07:00
Vishal Rana
a98843b6e5 Logger as interface, fixed #533, fixed #349, fixed #304
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-31 18:29:11 -07:00