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

https request gets redirected to http #29

Open
ChristianKernDev opened this issue Oct 22, 2020 · 3 comments
Open

https request gets redirected to http #29

ChristianKernDev opened this issue Oct 22, 2020 · 3 comments

Comments

@ChristianKernDev
Copy link

So for any reason (probably rate limiting or something like that), some GET requests to donwload a resource get redirected. The problem with this redirect is, that some frameworks, don't allow auto redirecting from https to http (like in my case .NET Core). For this reason i encountered various problems.

How i solved the problem for now:
I just use http requests for all calls to the API which should not be a huge deal, but it would be alot better to just get redirects to https URLs.

@Janmm14
Copy link

Janmm14 commented Mar 26, 2021

Noticed the same problem

@InventivetalentDev
Copy link
Member

example?

@Janmm14
Copy link

Janmm14 commented Mar 26, 2021

In a resource download for example you might get redirected from https://api.spiget.org/... to for example http://apple.api.spiget.org/...

InventivetalentDev added a commit to SpiGetOrg/api.spiget.org that referenced this issue Mar 27, 2021
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

3 participants