Jordon Smith
60b69fbb3b
Fix XML double WriteHeader ( #677 )
...
* WriteHeader if not committed in test.Response
Call WriteHeader if response isn't committed yet in calls to Write to
behave the same as fasthttp and standard Responses.
* Fix XML double WriteHeader
XMLBlob was writing xml.Header to the reply before writing the header
triggering a WriteHeader(http.StatusOK).
2016-10-25 07:56:41 -07:00
Vishal Rana
2ed15f491b
Added engine.Request#SetHost
function
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-21 14:08:18 -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
86ae297e23
New redirect middleware
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-27 13:03:40 -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
7fa42ab978
Removed unwanted import #629
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-18 08:00:40 -07:00
ipfans
0b7959a57d
Rename RemoteIP to RealIP
2016-08-18 09:26:58 +08:00
ipfans
649a1e7885
Fix echo/test with RemoteIP function.
2016-08-16 16:54:15 +08:00
Vishal Rana
2fab27a378
Refactor tls config
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-16 14:25:32 -07:00
Vishal Rana
702e6d0967
Closes #517 , closes #518
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-22 07:58:21 -07:00
Vishal Rana
795ab0ad77
Error handler now printing error messages
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-19 08:30:20 -07:00
Vishal Rana
6b55156cb6
Fixed build
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-09 19:19:53 -07:00
Vishal Rana
f0526349ff
Fixed #499
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-02 22:41:07 -07:00
Vishal Rana
190cf80d02
Fixed #432 , Fixed #167 .
...
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
2016-05-02 16:19:35 -07:00
Vishal Rana
cb752141f2
Add form binding
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-01 12:38:51 -07:00
Vishal Rana
0edb17e978
Added body limit middleware
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-30 20:08:06 -07:00
Vishal Rana
02676bdb44
Added JWT middleware
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-25 10:58:11 -07: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
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
f53eae10b3
Fixed #435
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-28 06:57:31 -07:00
Vishal Rana
7741bd0125
Fixed #428
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-23 11:10:22 -05:00
Vishal Rana
a66162a3d2
Logging middleware fixes
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-21 17:27:14 -07:00
Vishal Rana
703174e58f
Context#Form() > Context#FormValue(), Context#Query() > Context#QueryParam()
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-21 13:10:20 -07:00
rlcomte
cc86fa2232
Improved error handling of multipart requests
...
standard/request: return the error of the http request multipart parsing
call
test/request: similar functionality as the standard/request
2016-03-18 09:42:10 +01:00
Vishal Rana
6f0a7372fb
Godoc for engine package
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-16 21:30:24 -07:00
Vishal Rana
9795e59c43
Closes #411
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-16 16:31:24 -07:00
Vishal Rana
111d65a5b4
Fixed engine.test
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-16 16:15:40 -07:00
Vishal Rana
dfaaff949b
Fixed #406
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-15 08:50:43 -07:00
Vishal Rana
fd8744406f
Fixed #402
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-14 22:45:29 -07:00
Vishal Rana
b10c93cd17
Fixed #401 & Godoc
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-14 20:03:20 -07:00
Vishal Rana
7942e4a77b
Engine#Multipart,#FormFile. Closes #394 .
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-12 18:32:36 -08:00
Vishal Rana
f4a5abc8b2
Removed Context#Socket
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-08 08:14:25 -08:00
Vishal Rana
6a74849290
Handler wrapper in their respective packages #294
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-06 20:53:23 -08:00
Vishal Rana
94e5936287
Fixed test cases
...
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
2016-02-09 19:07:04 -08:00
Vishal Rana
7b843e66c5
Wrappers for handler and middleware
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-08 22:17:20 -08:00
Vishal Rana
f27de9a804
Fixed logging
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-04 19:29:49 -08:00
Vishal Rana
57399453be
Left over
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-01-28 23:56:09 -08:00
Vishal Rana
dbd1e8e230
Separated recipes from the main repo
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-01-09 11:00:13 -08:00
Vishal Rana
6fdd292a1f
Closed #170
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-31 19:25:03 -07:00