Skip to content

Add custom header for Avon Transit - #1869

Merged
ianktc merged 2 commits into
mainfrom
hotfix/avon-transit-header
Oct 15, 2026
Merged

ianktc merged 2 commits into
mainfrom
hotfix/avon-transit-header

Conversation

@ianktc

@ianktc ianktc commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary:

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

MobilityData/mobility-database-catalogs#1704

Liquibase Changes:

  • Added a new migration, add_avon_transit_header.sql, to insert a custom User-Agent header override for Avon Transit (mdb-2433): (liquibase/changes/add_avon_transit_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 2aa986b into main Oct 15, 2026
23 checks passed
@ianktc
ianktc deleted the hotfix/avon-transit-header branch October 15, 2026 13:57
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