Commit Graph

1121 Commits

Author SHA1 Message Date
Matt Newberry
daedc0bc17 Add response body size to writer interface 2014-09-02 13:17:37 -04:00
Manu Mtz-Almeida
012c935a46 Better errors in Context.Negotiation 2014-08-31 18:41:11 +02:00
Manu Mtz-Almeida
275bdc194e Fixes Content.Negotiate API 2014-08-31 18:28:18 +02:00
Manu Mtz-Almeida
ffea7e88a2 Working on content type negotiation API 2014-08-30 22:22:57 +02:00
Manu Mtz-Almeida
3b079bb6f7 Merge branch 'master' into develop 2014-08-29 19:50:58 +02:00
Manu Mtz-Almeida
8e5397bfa0 Adds in-code license 2014-08-29 19:49:50 +02:00
Manu Mtz-Almeida
8f1bbc6b6a gin.responseWriter implements http.Flusher and http.CloseNotifier 2014-08-26 17:52:58 +02:00
Manu Mtz-Almeida
7a87c5cbd4 Referencing the http.Hijacker interface 2014-08-26 17:50:07 +02:00
olebedev
4a24c47a69 Hijacker interface added 2014-08-25 15:58:43 +04:00
Manu Mtz-Almeida
b3f322c5fc Fixes bug when status code is negative 2014-08-24 04:35:11 +02:00
Jimmy Pettersson
d7f4db4ad3 Added reference to parent structs 2014-08-22 15:54:26 +02:00
Jimmy Pettersson
06e9f94970 Added nil check for embedded structs 2014-08-22 15:32:41 +02:00
Manu Mtz.-Almeida
45fcd18064 Merge pull request #99 from loongmxbt/patch-1
Update README.md
2014-08-21 16:12:03 +02:00
梦溪笔谈
5092886e99 Update README.md
Fix a typo in Redirects section.
2014-08-21 21:32:32 +08:00
Manu Mtz-Almeida
2d94e27243 Merge branch 'develop' 2014-08-21 01:15:31 +02:00
Manu Mtz-Almeida
a3a575392c Merge branch 'patch-1' of https://github.com/yosssi/gin-1 into develop 2014-08-21 01:14:49 +02:00
Manu Mtz-Almeida
2ec71baf25 Updates CHANGELOG and AUTHORS 2014-08-21 01:13:37 +02:00
Manu Mtz-Almeida
46225ea53a Fixes html debug mode 2014-08-21 01:04:35 +02:00
Manu Mtz-Almeida
94f2f3f7eb Using test mode 2014-08-21 01:01:42 +02:00
Manu Mtz-Almeida
0ed259ca34 Adds TestMode 2014-08-21 01:01:05 +02:00
Manu Mtz-Almeida
378610b3b2 HTML template debug mode.
- theHTML templates are reloaded each time
2014-08-20 18:14:10 +02:00
Manu Mtz-Almeida
7963d018a8 Merge branch 'Req-to-Request' of https://github.com/yuyabee/gin into develop 2014-08-19 16:08:11 +02:00
yuyabe
f39b692fc5 Update README.md 2014-08-19 01:38:03 -07:00
Manu Mtz-Almeida
a0437ff9f2 Typo in AUTHORS 2014-08-19 03:41:05 +02:00
Manu Mtz-Almeida
809eee8a72 Adds debug mode (part 1)
- Adds API to switch the gin's mode
- Log listening port
- Log routes
2014-08-19 03:40:52 +02:00
Manu Mtz-Almeida
312e032960 Updates AUTHORS.md 2014-08-18 21:01:54 +02:00
Manu Mtz-Almeida
2b486327db Updates CHANGELOG 2014-08-18 20:55:33 +02:00
Manu Mtz-Almeida
d85245b5aa Improves unit tests
- Reusing much more code
- More coverage
- Cleanup
- Fixes some cases
2014-08-18 19:48:48 +02:00
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