-
Notifications
You must be signed in to change notification settings - Fork 45
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
Servers responding to request targets using the asterisk-form or the origin-form #356
Comments
It may be worth noting that any Solid server running behind an nginx proxy will have difficulty responding to https://trac.nginx.org/nginx/ticket/1882 In my experience it simply doesn't work. It would be unfortunate if a specification requirement made it impossible to use one of the most widely deployed reverse proxy servers on the web, especially one that is built into most kubernetes deployments. I have no concerns about including those |
Oh no! Indeed, nginx is an extremely important piece of software, so if they decided this, we can't use that. :-( |
Related to the The key point made there is that a specification should not require or expect a certain path for applications.
Thus, requiring servers to respond in a certain way to requests at the root path |
The delegation precondition is analogous to https://solidproject.org/TR/protocol#storage-owner-uri-ownership :
Solid Protocol should not describe a requirement that presumes that the owner of a URI delegates authority to a server or an application. Conformance to The following statement should be removed from the specification because the URI owner may not have delegated authority to the server:
Created #357 |
If currently the existing Solid servers do not support this feature, it seems that the Solid spec should continue not to include it. I gather the RFCs do not require server to response to |
This issue is intended to remove assumptions about the availability of a Solid server responding to certain requests. Comments in the issue #355 for example considers the possibilities like OPTIONS * , URI path with / , or even .well-known/solid .. and there are many other issues (some linked from 355) that essentially touch on the same assumption. Understanding/agreeing on not making that assumption removes all those possibilities, and discussions in one go. I want this on record... irrespective to whether existing (or WIP) servers are capable of answering calls to OPTIONS * or .. |
Re #server-options-asterisk-accept-headers :
As noted, not all servers would be configured to receive/respond to
Any reason why we shouldn't? |
First, 👍 on removing Second, it is possible to put
Because |
There is "When responding to authorized requests:" before the requirement on |
While the Solid Protocol requires servers to conform to RFC 7230 and RFC 7231, there may exist Solid server instances that cannot receive requests using the
asterisk-form
or a particularabsolute-path
(and path segments in lower hierarchy) as target.It is important to consider whether any of the following requirements should be included in the Solid Protocol:
Servers MUST respond to request targets using the
asterisk-form
(RFC 7230).Servers MUST respond to request targets using the
origin-form
(RFC 7230).The first requirement is relevant for communication options:
OPTIONS *
. If servers cannot respond to requests using theasterisk-form
as target, the following requirement either needs to be removed:or the requirement for those Accept- headers should be in the response of
OPTIONS
for authorized requests.The second requirement is relevant when responding to specific resources, and perhaps most importantly whether server can respond to request target:
/
.The text was updated successfully, but these errors were encountered: