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 download recipe for sparkle feeds #151

Open
andrewzirkel opened this issue Aug 21, 2019 · 0 comments
Open

Add User-Agent to download recipe for sparkle feeds #151

andrewzirkel opened this issue Aug 21, 2019 · 0 comments
Assignees

Comments

@andrewzirkel
Copy link
Contributor

andrewzirkel commented Aug 21, 2019

Is your feature request related to a problem? Please describe.
When RecipeRobot accesses a sparkle feed it does so with a user-agent. When the recipe is written though there is no user-agent passed to the SparkleUpdateInfoProvider processor. This could (and did for me) cause autopkg to fail if the sparkle provider requires a user agent.

Describe the solution you'd like
Embed the same user-agent that RecipeRobot is using to access the sparkle feed in the download recipe as a argument to the SparkleUpdateInfoProvider Processor.

Additional context
This is the feed I was working on: https://www.kutasoftware.com/updates/appcast_a1m.xml
When the url is accessed via curl with no user-agent a 406 error is returned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants