Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Providing /contributions response as a downloadable file #77

Closed
FabiKo117 opened this issue Nov 11, 2020 · 2 comments
Closed

Providing /contributions response as a downloadable file #77

FabiKo117 opened this issue Nov 11, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@FabiKo117
Copy link
Contributor

The response of the newly implemented /contributions/(latest)/geometry|bbox|centroid endpoints can also get quite big. Therefore, it would make sense to provide it in the compressed gzip format, as it is already done with responses for the /elements and /elementsFullHistory endpoints.

The following lines in the RequestFilter.java class would have to be extended to also support the /contributions:

if (RequestUtils.isDataExtraction(request.getRequestURL().toString())) {

@FabiKo117 FabiKo117 added the enhancement New feature or request label Nov 11, 2020
@tyrasd
Copy link
Member

tyrasd commented Nov 16, 2020

this was fixed by #78 (even though the title here is not quite correct), right?

@FabiKo117 FabiKo117 changed the title Enabling gzip for /contributions response Providing /contributions response as a downloadable file Nov 17, 2020
@FabiKo117
Copy link
Contributor Author

@tyrasd Yes, I forgot to close it with the PR..

Fixed with #78

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants