We should centralize executing HTTP requests. This will allow us to simplify the command code and centrally manage settings like gzip compression, default headers or handling throttling.
In the current setup, every request must be separately instrumented with specific properties and handling throttling which leads to a lot of duplicated code and a lot of unnecessary work in case of refactoring.
We should centralize executing HTTP requests. This will allow us to simplify the command code and centrally manage settings like gzip compression, default headers or handling throttling.
In the current setup, every request must be separately instrumented with specific properties and handling throttling which leads to a lot of duplicated code and a lot of unnecessary work in case of refactoring.