Skip to content

feat: add referer header to download request#1366

Merged
davidgamez merged 1 commit into
mainfrom
fix/download_failing_missing_referer
Sep 22, 2025
Merged

feat: add referer header to download request#1366
davidgamez merged 1 commit into
mainfrom
fix/download_failing_missing_referer

Conversation

@davidgamez

@davidgamez davidgamez commented Sep 22, 2025

Copy link
Copy Markdown
Member

Summary:

Closes MobilityData/mobility-database-catalogs#917
This PR adds the referer URL to the download feed request headers.

Expected behavior:

The referer URL is added to the download feed header with the producer url as a value.

Testing tips:

Use the download_verifier with https://www.vre.org/gtfs/google_transit.zip

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Run the unit tests with ./scripts/api-tests.sh to make sure you didn't break anything
  • Add or update any needed documentation to the repo
  • Format the title like "feat: [new feature short description]". Title must follow the Conventional Commit Specification(https://www.conventionalcommits.org/en/v1.0.0/).
  • Linked all relevant issues
  • Include screenshot(s) showing how this pull request works and fixes the issue(s)

@davidgamez
davidgamez marked this pull request as ready for review September 22, 2025 20:29
@davidgamez davidgamez changed the title Add referer header to download request feat: add referer header to download request Sep 22, 2025

@qcdyx qcdyx left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@davidgamez
davidgamez merged commit e6a721b into main Sep 22, 2025
2 of 3 checks passed
@davidgamez
davidgamez deleted the fix/download_failing_missing_referer branch September 22, 2025 21:16
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 this pull request may close these issues.

Bug: Virginia Railway Express - Official Feed

2 participants