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

Change /oai2d to answer through normal http, not https #40

Closed
llehtine opened this issue Jan 10, 2014 · 2 comments
Closed

Change /oai2d to answer through normal http, not https #40

llehtine opened this issue Jan 10, 2014 · 2 comments

Comments

@llehtine
Copy link

https is not needed for oai2d-interface (as it is public data) and OAI-PMH standard requires http so that path needs to be changed to answer through http.

@llehtine
Copy link
Author

llehtine commented Apr 3, 2014

With the test-environment it seems that the oai2d page is reporting, that the request is coming from HTTPS while it is infact coming from HTTP. Issue here is that it isn't actually checking the protocol, but it will check if the CFG_SITE_SECURE_URL or CFG_SITE_URL is set. So it will first give the SECURE-url if it's set. Going to patch it by changing the order of those variables in oai_repository_server.py

@llehtine
Copy link
Author

llehtine commented Apr 3, 2014

Fixed with 2d1dc10

@llehtine llehtine closed this as completed Apr 3, 2014
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

3 participants