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

Handle rate limiting headers #44

Closed
abulte opened this issue Dec 6, 2022 · 0 comments · Fixed by #48
Closed

Handle rate limiting headers #44

abulte opened this issue Dec 6, 2022 · 0 comments · Fixed by #48
Assignees

Comments

@abulte
Copy link
Contributor

abulte commented Dec 6, 2022

x-ratelimit-remaining: 2999
x-ratelimit-limit: 3000
x-ratelimit-reset: 2022-12-07 00:00:00+00:00
[:~/Downloads] 60 $ curl -I https://opendata.lillemetropole.fr/api/datasets/1.0/transport_arret_transpole-point/alternative_exports/gtfszip
HTTP/2 200
server: nginx
date: Tue, 06 Dec 2022 18:28:47 GMT
content-type: application/zip
content-length: 9940052
content-disposition: attachment; filename="gtfs.zip"
x-ratelimit-remaining: 2999
x-ratelimit-limit: 3000
x-ratelimit-reset: 2022-12-07 00:00:00+00:00
cache-control: no-cache, no-store, max-age=0, must-revalidate
pragma: no-cache
expires: Fri, 01 Jan 1990 00:00:00 GMT
vary: Accept-Language, Cookie, Host
content-language: en
access-control-allow-origin: *
access-control-allow-methods: POST, GET, OPTIONS
access-control-max-age: 1000
access-control-allow-headers: Authorization, X-Requested-With, Origin, ODS-API-Analytics-App, ODS-API-Analytics-Embed-Type, ODS-API-Analytics-Embed-Referrer, ODS-Widgets-Version, Accept
strict-transport-security: max-age=31536000
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
referrer-policy: strict-origin-when-cross-origin
permissions-policy: midi=(),notifications=(),push=(),microphone=(),camera=(),magnetometer=(),gyroscope=(),vibrate=(),fullscreen=(self),payment=()
content-security-policy: upgrade-insecure-requests;
x-ua-compatible: IE=edge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant