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 support for update server to respond with an HTTP redirect instead of JSON #261

Open
ezekg opened this issue Jul 29, 2021 · 1 comment

Comments

@ezekg
Copy link

ezekg commented Jul 29, 2021

Instead of requiring an update server to respond with a specific JSON schema, what if we also allowed a server to respond with an HTTP 301, 302, 303 or 307 redirect pointing to the new release URL? This would allow for third-party distribution services, such as my own to be more easily integrated with Squirrel, without the third-party service needing to add a compatibility layer for Squirrel.Mac (i.e. at minimum, a top-level url property in the response payload.)

Since this would be in addition to the 200 JSON response, this should be a backwards-compatible change.

What do you all think?

p.s. I'd love to sponsor this/donate to Squirrel on behalf of Keygen. Let me know if you provide options for that, or if somebody else wants to jump in with approval from the maintainers. 🙂

@jwatte
Copy link

jwatte commented Dec 23, 2021

Given that this is 20 years old well established web tech, I thought this would Just Work (tm.)
And now I'm forced to come up with some terrible rewrite rule to make this happen.
Please implement this!

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

2 participants