Cosmo Borsky b238be54a4 Add content_type flag to Sanic.static (#1267)
* Add content_type flag to Sanic.static

Fixes #1266

* Fix flake8 error in travis

Add line to document `content_type` arg

* Fix content_type for file streams

Update tests

herp derp

* Remove content_type as an arg to HTTPResponse

`response.HTTPResponse` will default to `headers['Content-Type']` instead of `content_type`
https://github.com/channelcat/sanic/pull/1267#discussion_r204190913
2018-07-20 22:31:15 -07:00
..
2017-03-03 11:44:50 -05:00
2017-09-05 10:58:48 +02:00
2018-07-11 01:44:21 -07:00
2017-02-14 14:51:20 -05:00
2017-02-14 14:51:20 -05:00
2018-03-15 22:03:36 -07:00
2018-03-15 22:06:58 -07:00
2018-03-15 21:28:52 -07:00
2018-06-09 01:16:17 -07:00
2018-03-15 21:28:52 -07:00
2018-03-15 21:28:52 -07:00
2018-03-15 21:28:52 -07:00
2017-02-14 14:51:20 -05:00
2017-02-20 16:52:36 -08:00
2018-07-03 22:07:08 -07:00