Files
core/tests/components
Mike Megally 226066eafd exposed content_type in rest_command (#7101)
* exposed content_type in rest_command, which allows for manually specifying the content_type for more-strict api endpoints

* fixed up column length

Length was 86 chars, and it needed to be 79

* double import of HTTP_HEADER_CONTENT_TYPE

Removed the accidental double-import of HTTP_HEADER_CONTENT_TYPE

* moved rest_command-specific config value into component

* if no content_type, default to None

* unit test

* newline

* unused CONTENT_TYPE_TEXT_PLAIN

* removed the http-agnostic abstraction hass provided in favor of aiohttps hdrs constant
2017-04-18 11:50:43 +02:00
..
2017-01-08 23:50:42 +01:00
2017-04-16 11:06:57 +02:00
2017-04-07 09:17:23 -04:00
2017-04-16 15:06:59 -07:00
2017-03-30 00:50:53 -07:00
2017-04-11 22:52:44 +02:00
2016-03-09 10:25:50 +01:00
2017-03-30 00:50:53 -07:00
2017-03-04 15:10:36 -08:00
2017-04-11 09:23:41 -07:00
2017-03-30 00:50:53 -07:00
2017-04-06 22:59:41 -07:00