Skip to content

Add custom user agent header for metro lisboa feed - #1868

Merged
ianktc merged 1 commit into
mainfrom
hotfix/metro-de-lisboa-header
Oct 14, 2026
Merged

ianktc merged 1 commit into
mainfrom
hotfix/metro-de-lisboa-header

Conversation

@ianktc

@ianktc ianktc commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

Add custom User-Agent header=MobilityDatabaseAgent for Metro Lisboa. I verified that without any header, the response using python request lib is 403 Forbidden. When using our new custom user agent (MobilityDatabaseAgent) we're able to get a 200 response.

MobilityData/mobility-database-catalogs#1693

Liquibase Changes:

  • Added a new migration, add_metro_lisboa_header.sql, to insert a custom User-Agent header override for Byron Bay Express (tld-716): (liquibase/changes/add_metro_lisboa_header.sql)
  • Updated the main Liquibase changelog (changelog.xml) to include the new hotfix migration, ensuring it is applied in the correct order. (liquibase/changelog.xml)

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)

@ianktc
ianktc merged commit bac457d into main Oct 14, 2026
23 of 24 checks passed
@ianktc
ianktc deleted the hotfix/metro-de-lisboa-header branch October 14, 2026 14:36
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.

2 participants