influxdb/kit/transport/http
Johnny Steenbergen e295d508ac fix: make API type marshal before writing to respone writer to avoid duplicate write header calls on failed encoding
this fix is necessary to avoid the superflour write header error. When the
write fails, we log it, this shoudl never happen unless the connection gets
corrupted. In that case there is nothing for the server to do except log
2020-04-15 14:26:25 -07:00
..
api.go fix: make API type marshal before writing to respone writer to avoid duplicate write header calls on failed encoding 2020-04-15 14:26:25 -07:00
api_test.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
error_handler.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
error_handler_test.go refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
handler.go chore(http): pull out eror handler into kit pkg for portability 2020-02-03 12:39:47 -08:00
middleware.go fix(CORS): stop processing in pre-flight CORS requests 2020-04-07 08:12:31 +02:00
middleware_test.go fix(CORS): stop processing in pre-flight CORS requests 2020-04-07 08:12:31 +02:00
status_response_writer.go chore(http): fixup middleware stack and normalize metrics into same buckets for id fields 2020-01-08 15:05:34 -08:00