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

Add User-Agent to Header #116

Open
kphaneuf opened this issue Oct 6, 2021 · 2 comments
Open

Add User-Agent to Header #116

kphaneuf opened this issue Oct 6, 2021 · 2 comments

Comments

@kphaneuf
Copy link

kphaneuf commented Oct 6, 2021

We recently had issues accessing a vendors MDS via the tool (version 4.6.1) and found that the problem was that there was no User-Agent being passed from the tool. Before I start editing the JS, I wanted to post here in case this should be added to the tool.

@kphaneuf
Copy link
Author

kphaneuf commented Oct 6, 2021

I updated the mds.js file to include "User-Agent": "Shared Streets MicroMobility Tool" in all the headers. This fixed our issue.

@kphaneuf
Copy link
Author

kphaneuf commented Oct 6, 2021

Also, the vendor had recently implemented a security measure requiring that header attribute which is why it was not an issue in the past.

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

No branches or pull requests

1 participant