grafana/pkg/infra/httpclient/httpclientprovider
Dimitris Sotirakis ba9d5540b8
Datasources: Introduce response_limit for datasource responses (#38962)
* Introduce response_limit for datasource responses

* Fix lint

* Fix tests

* Add case where limit <= 0 - added parametrized tests

* Add max_bytes_reader.go

* Use new httpclient.MaxBytesReader instead of net/http one

* Fixes according to reviewer's comments

* Add tests for max_bytes_reader

* Add small piece in configuration.md

* Further fixes according to reviewer's comments

* Fix linting - fix test
2021-09-10 16:51:06 +03:00
..
azure_middleware.go Infra: Azure authentication in HttpClientProvider (#36932) 2021-07-22 21:43:10 +01:00
datasource_metrics_middleware_test.go Datasource: Shared HTTP client provider for core backend data sources and any data source using the data source proxy (#33439) 2021-05-19 23:53:41 +02:00
datasource_metrics_middleware.go Datasource: Shared HTTP client provider for core backend data sources and any data source using the data source proxy (#33439) 2021-05-19 23:53:41 +02:00
http_client_provider_test.go Datasources: Introduce response_limit for datasource responses (#38962) 2021-09-10 16:51:06 +03:00
http_client_provider.go Datasources: Introduce response_limit for datasource responses (#38962) 2021-09-10 16:51:06 +03:00
response_limit_middleware_test.go Datasources: Introduce response_limit for datasource responses (#38962) 2021-09-10 16:51:06 +03:00
response_limit_middleware.go Datasources: Introduce response_limit for datasource responses (#38962) 2021-09-10 16:51:06 +03:00
sigv4_middleware_test.go Datasource: Shared HTTP client provider for core backend data sources and any data source using the data source proxy (#33439) 2021-05-19 23:53:41 +02:00
sigv4_middleware.go Datasource: Shared HTTP client provider for core backend data sources and any data source using the data source proxy (#33439) 2021-05-19 23:53:41 +02:00
testing.go HTTP Client: Outgoing tracing middleware (#34466) 2021-05-20 11:16:55 +02:00
tracing_middleware_test.go HTTP Client: Outgoing tracing middleware (#34466) 2021-05-20 11:16:55 +02:00
tracing_middleware.go HTTP Client: Outgoing tracing middleware (#34466) 2021-05-20 11:16:55 +02:00
user_agent_middleware_test.go Datasource: Shared HTTP client provider for core backend data sources and any data source using the data source proxy (#33439) 2021-05-19 23:53:41 +02:00
user_agent_middleware.go Datasource: Shared HTTP client provider for core backend data sources and any data source using the data source proxy (#33439) 2021-05-19 23:53:41 +02:00