Vishal Rana
dfd06fa394
fixed #694
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-27 07:34:28 -07:00
Tors Dalid
72bfbc3492
Use defined const for index.html in Context ( #502 )
...
Signed-off-by: Tors Dalid <tors@pocketmath.com>
2016-10-26 14:50:08 -07:00
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
1924528614
closes #669 ( #670 )
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-07 19:25:01 -07:00
Vishal Rana
03efe4d61b
Closes #525 , closes #566 , closes #573 ( #653 )
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-09 15:30:46 -07:00
Vishal Rana
00699ed0db
Renamed Context#Context => Context#StdContext & Context#SetContext to ContextSetStdContext, 2d772e02cafe06456a1cb5f887248fc79ce9e5f1
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-09 11:47:43 -07:00
Vishal Rana
2d772e02ca
Updated deps, removed Context#Context()
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-08 14:54:07 -07:00
Francisco Guimarães
8a85626a71
Inline feature ( #637 )
2016-08-22 14:46:21 -07:00
Vishal Rana
85e2816cf3
Minor formatting/changes
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-22 08:30:46 -07:00
Kazuhiro Kubota
48c42e7b90
Fix Context#SetContext()/Context#Context()
2016-08-22 20:42:25 +09:00
Vishal Rana
ad8f0dd012
Closes #626 , #625
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-19 14:07:07 -07:00
Vishal Rana
eb48e7de60
Revert "fixed #604 "
...
This reverts commit 69e8c1e7178d296a0a432da53d976b72c4c19a5b.
2016-07-27 09:11:34 -07:00
Vishal Rana
69e8c1e717
fixed #604
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-07-26 09:58:21 -07:00
Vishal Rana
451b2ccc9f
Exposed error handlers
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-07-05 08:43:46 -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
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
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
682a5580b7
Deprecated Echo#GetContext() => Echo#AcquireContext(), Echo#PutContext() => Echo#ReleaseContext()
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-03 17:23:31 -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
be825e0229
Refactored variable names
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-24 10:22:15 -07:00
Anon-Penguin
ea123198e4
Add Exists() method
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-24 08:02:12 -07:00
Vishal Rana
1e04986e53
Var args for Context#SetParamNames and Context#SetParamValues.
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-17 09:41:20 -07:00
Vishal Rana
467cf05b41
Changes based on comments for #430
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-16 15:56:09 -07:00
Vishal Rana
fd104333f2
Fixed #430 , Closes #469
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-16 09:15:37 -07:00
Vishal Rana
609587e6eb
Fixed #463
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-11 16:49:20 -07:00
Vishal Rana
130c548826
Closes #459 , #457 .
...
- Static back as middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-10 20:56:10 -07:00
Vishal Rana
33700bfcc2
Fixed #457
...
- Dropped static middleware in favor of Echo#Static & Echo#StaticConfig.
- Enhanced middleware chaining.
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-09 14:00:23 -07:00
Vishal Rana
8b5772cf65
Proper header and MIME constants
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-06 07:29:47 -07:00
Vishal Rana
bcbd9a0f42
Updated README.md
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-04 20:10:19 -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
55e3dba946
ReadSeeker instead of Reader to future usage
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-29 16:17:36 -07:00
Vishal Rana
70bf482381
Don't need http.Dir in Context#File'
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-29 15:26:25 -07:00
Vishal Rana
28ec39daaa
Context#StaticContent signature changed
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-27 21:03:35 -07:00
Vishal Rana
a2d757eddc
Closes #434
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-27 16:29:41 -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
Vishal Rana
c4caeb8ffb
more godoc
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-19 15:47:20 -07:00
Vishal Rana
e16b929900
Middleware fix #407
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-16 08:24:25 -07:00
Vishal Rana
030a9a4ad1
#407 , just fixed fasthttp response writer
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-15 15:55:46 -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
0465314380
Fixed #400
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-14 12:21:47 -07:00
Vishal Rana
abc669bd07
Fixed #399
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-14 08:18:02 -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
ac25928fd0
Closes #393
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-12 11:49:45 -08:00
Vishal Rana
5b5df5bf44
Last-Modified header for static content
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-12 10:18:40 -08:00