Skip to content

maps.static_map() uses return response.iter_content() which does byte-wise chunking which does not give a good performance #482

Open
@DerGuteWolf

Description

@DerGuteWolf

Is your feature request related to a problem? Please describe.
maps.static_map() uses return response.iter_content() which does byte-wise chunking which does not give a good performance

The cause is: iter_content() defaults to chunk size of 1 cf. https://docs.python-requests.org/en/latest/api/#requests.Response.iter_content

Describe the solution you'd like
Perhaps chunk_size=None would be better Performance

Metadata

Metadata

Assignees

Labels

triage meI really want to be triaged.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions