grafana/pkg/infra/httpclient
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
..
httpclientprovider Datasources: Introduce response_limit for datasource responses (#38962) 2021-09-10 16:51:06 +03:00
max_bytes_reader_test.go Datasources: Introduce response_limit for datasource responses (#38962) 2021-09-10 16:51:06 +03:00
max_bytes_reader.go Datasources: Introduce response_limit for datasource responses (#38962) 2021-09-10 16:51:06 +03:00
provider.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