Commit Graph

343 Commits

Author SHA1 Message Date
Manu Mtz-Almeida e11ff5bacb response_writes uses 200 as default status code. 2014-08-18 19:48:01 +02:00
Manu Mtz-Almeida 3bd33ca666 Merge branch 'tests' of https://github.com/alexandernyquist/gin into alexandernyquist-tests 2014-08-18 18:23:48 +02:00
Manu Mtz-Almeida ceec1b6443 Merge branch 'redirect' of https://github.com/alexandernyquist/gin into develop 2014-08-18 17:19:32 +02:00
Manu Mtz-Almeida faf181db72 Merge branch 'readme-binding' of https://github.com/alexandernyquist/gin into alexandernyquist-readme-binding 2014-08-18 17:16:41 +02:00
Manu Mtz-Almeida dcafad3ced Deferring WriteHeader. Part 1 2014-08-18 05:24:48 +02:00
Manu Mtz-Almeida 78c7101ff6 Check existence of X-Forwarded-For by comparing the length 2014-08-18 04:52:01 +02:00
Sasha Myasoedov 4c57a35441 Added tests for basic auth. 2014-08-12 12:34:28 +03:00
Sasha Myasoedov f2176c3100 Adjusted tests for recovery. 2014-08-11 13:38:30 +03:00
Sasha Myasoedov 685d2c99cf Added tests for JSON binding. 2014-08-11 13:26:11 +03:00
Sasha Myasoedov 83fefc41d0 Merge branch 'tests' of github.com:alexandernyquist/gin into tests 2014-08-08 16:33:28 +03:00
Sasha Myasoedov 80cf66cde6 Added test cases for context file, data, XML response writers. 2014-08-08 16:31:41 +03:00
Sasha Myasoedov fcd997e083 Added test for recovery 2014-08-08 15:50:52 +03:00
Sasha Myasoedov 6abe841c1f Splited tests into separate files 2014-08-08 14:48:15 +03:00
Sasha Myasoedov 16e4230e22 Merge pull request #2 from msoedov/tests
Updated tests
2014-08-06 17:19:51 +03:00
Alexander Nyquist 38dcdcc985 Started on improved documentation for model binding 2014-08-03 01:31:48 +02:00
Alexander Nyquist 64fb835e6f Only accepting 3xx status codes when redirecting. Swapped location and code arguments for Redirect signature 2014-08-02 17:06:09 +02:00
Alexander Nyquist e350ae7c7e Removed redundancy when redirecting 2014-07-29 00:53:56 +02:00
Alexander Nyquist 2c4460d7cc Fixed status code when redirecting 2014-07-29 00:51:34 +02:00
Alexander Nyquist 593de4e913 Added support for redirects 2014-07-29 00:48:02 +02:00
Sasha Myasoedov 74ca5f3bd9 Added dummy tests for middleware 2014-07-28 13:05:23 +03:00
Keiji Yoshida 51cbd7c75e Update README.md 2014-07-26 01:57:24 +09:00
Sasha Myasoedov 89b4c6e0d1 Replaced deprecated ServeFiles 2014-07-24 16:52:16 +03:00
Sasha Myasoedov 8933874582 Fixed tests up to master branch 2014-07-24 16:28:13 +03:00
Sasha Myasoedov 7713e8157a Merge branch 'tests' of github.com:alexandernyquist/gin into tests 2014-07-24 16:26:29 +03:00
Andre Dublin a1c9c0e2d4 spelling
Signed-off-by: Andre Dublin <81dublin@gmail.com>
2014-07-18 17:08:37 -04:00
Manu Mtz.-Almeida c3abaf9afc Merge pull request #73 from gin-gonic/community
adding info for IRC and mailing list
2014-07-18 18:09:30 +02:00
Manu Mtz-Almeida 97729696c0 Updates CHANGELOG 2014-07-18 15:25:55 +02:00
Manu Mtz-Almeida 7a6d58d8c4 Updates README 2014-07-18 15:22:38 +02:00
Manu Mtz-Almeida 4acef47df5 Adds CHANGELOG 2014-07-18 15:20:46 +02:00
Manu Mtz-Almeida 590bda514b Updates AUTHORS 2014-07-18 14:59:44 +02:00
Manu Mtz.-Almeida 3716419fca Merge pull request #76 from mopemope/fix-plainrender
Fix Corrupted plainRender
2014-07-18 14:53:00 +02:00
mopemoepe 2947981b61 Fix Corrupted plainRender 2014-07-18 08:56:59 +09:00
Manu Mtz-Almeida cc94aa2dd9 Fixes pathFor() 2014-07-18 01:34:29 +02:00
Manu Mtz-Almeida d0fb4a6bf0 Fixes new NoRoute() logic 2014-07-18 00:29:44 +02:00
Manu Mtz-Almeida c7fdc2e03a Errors in context are removed 2014-07-18 00:29:20 +02:00
Manu Mtz-Almeida 48f4914165 Performance improvement
- Reduces number of allocations per context
- Improves CPU cache usage
2014-07-18 00:10:28 +02:00
Manu Mtz-Almeida 184a02ee2d Improves performance of NoRouter() handler 2014-07-17 23:43:41 +02:00
Manu Mtz-Almeida 4731e82bb7 Renames NotFound() to NoRoute() 2014-07-17 23:42:23 +02:00
Manu Mtz-Almeida d91cfbade4 Renames NotFound404 to NotFound 2014-07-17 20:18:50 +02:00
Manu Mtz-Almeida 15c27c712d Adds HEAD method in Static file serving 2014-07-17 02:07:18 +02:00
Manu Mtz-Almeida dda70bf382 Refactors Static() file serving 2014-07-17 02:02:09 +02:00
Manu Mtz-Almeida 8ed55606c3 Adds context.File(path) 2014-07-17 02:01:42 +02:00
Manu Mtz.-Almeida 0ca4d36b76 Merge pull request #70 from fmd/develop-templates
Renames SetHTTPTemplate to SetHTMLTemplate
2014-07-17 00:27:39 +02:00
Manu Mtz-Almeida dc43372610 Splitting source code in different files 2014-07-16 20:14:03 +02:00
Austin Heap f3fd8b92f8 adding info for IRC and mailing list 2014-07-16 10:00:47 -07:00
mopemoepe 2c3cdbb69f Add Pluggable View Renderer Example
Gin meets pongo2!
(https://github.com/flosch/pongo2)
2014-07-17 00:37:56 +09:00
Fareed Dudhia 176edde1fb SetHTTPTemplate -> SetHTMLTemplate 2014-07-16 12:53:57 +00:00
Manu Mtz-Almeida 3cf2d1338f Updates AUTHORS file 2014-07-16 12:18:02 +02:00
Manu Mtz.-Almeida 18d8c2a4c8 Merge pull request #69 from mopemope/fix-variadic
Fix variadic parameter
2014-07-16 12:06:21 +02:00
mopemoepe 08875b30d6 Fix variadic parameter 2014-07-16 14:18:45 +09:00