Proper url spec for ocm server url - #248
Conversation
glpatcern
left a comment
There was a problem hiding this comment.
Looks good! Just a couple of changes
Co-authored-by: Giuseppe Lo Presti <giuseppe.lopresti@cern.ch>
Co-authored-by: Giuseppe Lo Presti <giuseppe.lopresti@cern.ch>
|
Maybe we should add something in Discovery on how to handle https vs http. Default to https only, rejecting any federated urls with http or OCM Servers only discoverable via http. Allow an Opt-In for http downgrades/fallback? One might also leave that up to implementations, just something I've been thinking about. |
Yes, that's what Mahdi put in the subject of this PR, leaving Discovery as a separate point. My take here would be to provide a recommendation (the obvious one...) and leave it to the implementations. De facto the only room for |
I'm intentionally not updating the Discovery endpoint (and any related fields) in this PR. This needs a brief design discussion first. For reference:
Once we reach consensus, I'll submit a follow up patch with the corresponding edits.
This PR is a result of discussion in #244