Commit Graph

81 Commits

Author SHA1 Message Date
Manu Mtz-Almeida 865ea804c9 Renames new API for query/postform and params. 2015-05-26 12:08:33 +02:00
Manu Mtz-Almeida 0a9030f9d7 ClientIP() must trim the white spaces 2015-05-24 15:35:08 +02:00
Manu Mtz-Almeida 80d3cc6b75 Adds test for single IP in X-Forwarded-For 2015-05-24 15:28:58 +02:00
Manu Mtz-Almeida 37b6f6c179 Fixing new errors API 2015-05-22 16:39:15 +02:00
Manu Mtz-Almeida b7205a6ec2 Fixes new errors API. 2015-05-22 03:43:39 +02:00
Manu Mtz-Almeida e94247f9ad New errors API!! 2015-05-22 03:25:21 +02:00
Manu Mtz-Almeida 5f76ba2022 Context.Engine renamed to Context.engine 2015-05-22 02:24:13 +02:00
Manu Mtz-Almeida 0cb52ccef7 Improves unit test coverage 2015-05-19 02:29:32 +02:00
Manu Mtz-Almeida acf0c2dbb0 Unit tests for errors.Errors() 2015-05-19 00:49:01 +02:00
Manu Mtz-Almeida 947b53d4a2 New Render API 2015-05-18 15:45:24 +02:00
Manu Mtz-Almeida 99694bb716 Fixes errors 2015-05-12 15:22:13 +02:00
Manu Mtz-Almeida 3df5dfdb7f Faster IndentedJSON + unit tests 2015-05-11 01:04:08 +02:00
Manu Mtz-Almeida c391520654 More unit tests for Context .Set and .Get 2015-05-07 16:00:37 +02:00
Manu Mtz-Almeida eb3e9293ed Renames []HandleFunc to HandlersChain 2015-05-07 11:30:01 +02:00
Manu Mtz-Almeida f414648384 - More unit tests
- Improves HTML debug render
- InputHolder removed
- More debug logs
2015-05-05 15:06:38 +02:00
Manu Mtz-Almeida 0a192fb0fa Tons of unit tests 2015-04-09 12:15:02 +02:00
Manu Mtz-Almeida 4d315f474b More unit tests 2015-04-08 14:24:49 +02:00
Manu Mtz-Almeida ac0ad2fed8 Improves unit tests 2015-04-08 02:58:35 +02:00
Manu Mtz-Almeida 9828435f70 Fixes failing unit test 2015-04-07 18:14:33 +02:00
Manu Mtz-Almeida c0e8cedc98 Updates Context tests 2015-03-31 20:12:10 +02:00
Manu Mtz-Almeida 3285007fbb Refactores context.go 2015-03-23 04:39:53 +01:00
Ethan Kan 70f280f880 Added support for unsigned integers in binding parameters of form posts. Also changed parsing of integer fields to take into account the size of the fields. 2015-02-09 15:13:05 -08:00
Javier Provecho Fernandez a5ec533a6a Merge pull request #200 from joiggama/feature/content-type-charset
Specify utf-8 as default on content type charset headers on renderers
2015-02-07 14:38:21 +01:00
Ignacio Galindo b69dde8e68 Specify utf-8 as content type charset on renderers 2015-01-29 20:14:13 -06:00
Remco e4f6e053d0 Fixed issue allowing to spoof ClientIP()
The X-Forwared-For can be used to spoof the real client ip. The middleware
introduced in this patch (which should only be used when having servers
in front of this servers) will filter all defined proxies (or local ip
addresses by default) and replace the RemoteAddr with the real client
ip.
2014-12-21 13:42:48 +01:00
Manu Mtz-Almeida 07a3961941 General refactoring 2014-10-08 21:37:26 +02:00
Manu Mtz-Almeida 8e5397bfa0 Adds in-code license 2014-08-29 19:49:50 +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
Sasha Myasoedov 685d2c99cf Added tests for JSON binding. 2014-08-11 13:26:11 +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 6abe841c1f Splited tests into separate files 2014-08-08 14:48:15 +03:00