Skip to content

Centralize executing HTTP requests #888

@waldekmastykarz

Description

@waldekmastykarz

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.

  • centralize executing HTTP requests
  • enable gzip compression on all requests
  • set default User-Agent on all requests
  • add support for throttling
  • handle debugging
  • refactor all commands

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.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions