Commit Graph

31 Commits

Author SHA1 Message Date
Bo-Yi Wu
bec00ec825 fix: remove AllowCredentials check for allow origins (#16) 2017-02-27 14:30:00 +08:00
Bo-Yi Wu
79e0d17cc9 fix: assert arguments error. (#15) 2017-02-27 08:34:08 +08:00
Bo-Yi Wu
da1a40b05a Merge pull request #13 from gin-contrib/test
fix testing from #11
2016-12-29 16:16:41 +08:00
Bo-Yi Wu
a22aeebf59 fix testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-28 07:22:26 +08:00
Jonathan
dbbc835584 Fix logic error for when setting allowedAllOrigins and allowedCredentials
`Access-Control-Allow-Origin` should returning `Origin` originally of
requests when allowCredentials and allowAllOrigins.
2016-12-28 06:57:52 +08:00
Bo-Yi Wu
d075cad469 update golang testing to 1.6.4 and 1.7.4
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-05 22:52:08 +08:00
Bo-Yi Wu
3f5d6253cd [ci skip] update gin gitter link.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-01 16:50:15 +08:00
Bo-Yi Wu
57b7130fd8 [ci skip] remove empty line.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-01 16:46:05 +08:00
Bo-Yi Wu
fb918bcd82 [ci skip] update readme
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-11-09 14:27:26 +08:00
Thomas Boerger
6ebcc5f9c7 Merge pull request #9 from se77en/dev
Add convert func to format headers and methods of http
2016-11-09 07:01:54 +01:00
Damon Zhao
25b01311da Add convert func to format headers and methods of http 2016-11-08 18:51:19 +08:00
Javier Provecho Fernandez
0202b02ec3 Merge pull request #7 from gin-contrib/new
Updates README
2016-10-31 09:50:56 +01:00
Bo-Yi Wu
764baefb88 update readme for relase v1.0
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-31 16:19:39 +08:00
Javier Provecho Fernandez
9726988c57 Merge pull request #6 from gin-contrib/import
Change go import to gopkg.in v1
2016-10-31 09:12:14 +01:00
Bo-Yi Wu
858b4d41a5 import stable version of gin.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-31 08:52:00 +08:00
Javier Provecho Fernandez
75950c1a31 Merge pull request #3 from renannprado/master
Fix for #2 - handle preflight now doesn't write the headers anymore
2016-10-30 21:42:51 +01:00
Thomas Boerger
6b3b094478 Merge pull request #5 from gin-contrib/update
update testing version to 1.7.3
2016-10-21 09:20:20 +02:00
Bo-Yi Wu
aaa5473637 update testing version to 1.7.3
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-21 14:05:40 +08:00
Bo-Yi Wu
43adb82e7c fix golint error.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-20 09:06:20 +08:00
Bo-Yi Wu
14d8c87c42 add MIT License.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-20 08:57:33 +08:00
Bo-Yi Wu
dbe5075495 add git ignore file.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-19 09:47:01 -05:00
Bo-Yi Wu
e33494abc7 update readme.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-19 09:47:01 -05:00
Bo-Yi Wu
34ed289f26 add travis config.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-19 09:47:01 -05:00
Renann Prado
455c49c79c Fixes #2 2016-06-26 14:04:15 -03:00
Manu Mtz.-Almeida
5e6551a50c Fixes README 2015-11-12 15:22:02 +01:00
Manu Mtz.-Almeida
43967fed89 Improves unit tests 2015-11-12 15:19:58 +01:00
Manu Mtz.-Almeida
e39b91a5da Adds some documentation and README 2015-11-12 15:14:49 +01:00
Manu Mtz.-Almeida
ee70b8845a Renames some options 2015-11-12 15:14:38 +01:00
Manu Mtz.-Almeida
4b9ae1e081 Finishing unit tests 2015-11-12 14:47:51 +01:00
Manu Mtz.-Almeida
b08ec4416c Fixes CORS 2015-11-12 01:17:15 +01:00
Manu Mtz.-Almeida
322e348743 Initial commit 2015-11-11 22:16:49 +01:00