badb2bf057
If content-type is "application/json", we'll process the request as of old JSON write API. Otherwise, we assume line protocol but check the first byte in case a older client is still sending JSON without the correct content-type header. |
||
---|---|---|
.. | ||
config.go | ||
config_test.go | ||
handler.go | ||
handler_test.go | ||
response_logger.go | ||
service.go |