Commit Graph

12 Commits

Author SHA1 Message Date
Javier Provecho Fernandez
963acc4b0c Fix #198 (#781)
* Add new function to Render interface for writing content type only

* Add support for the new function in Render interface for writing content-type only

* Fix unhandled merge conflict in context_test.go

* Update vendor.json
2017-01-09 16:24:48 +01:00
Javier Provecho Fernandez
9e930b9bdd lint code 2016-04-15 01:16:46 +02:00
Manu Mtz-Almeida
352868ef90 Add support for custom HTML and XML content-type 2015-06-13 04:43:23 +02:00
Manu Mtz-Almeida
1f56e50083 Using Render() instead of Write() 2015-06-04 05:25:21 +02:00
Manu Mtz-Almeida
a21cc8dd3d Updates HTML render 2015-06-01 00:15:16 +02:00
Manu Mtz-Almeida
a2105ce34c Fast path for setting headers.
- No heap allocation
- No indirection
- CanonicalMIMEHeaderKey() is not called
2015-05-23 16:39:25 +02:00
Manu Mtz-Almeida
ffaf49da0e Adds MIT license 2015-05-22 19:21:23 +02:00
Manu Mtz-Almeida
306da81aaf Cosmetic changes in render 2015-05-22 04:44:29 +02:00
Manu Mtz-Almeida
880dd7f3cf Fixes bug in HTMLDebug 2015-05-21 20:27:25 +02:00
Manu Mtz-Almeida
947b53d4a2 New Render API 2015-05-18 15:45:24 +02:00
Manu Mtz-Almeida
a9dad532ae Performance improvement in renders 2015-05-11 01:02:17 +02:00
Manu Mtz-Almeida
2d8f0a4801 Performance improvements when rendering
- Fast path for JSON, XML and plain text rendering
2015-05-07 12:44:52 +02:00