Commit Graph

12 Commits

Author SHA1 Message Date
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