-
Notifications
You must be signed in to change notification settings - Fork 63
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
Consider removing section 9.3.1 Protocol Binding based on HTTP in version 1.1 #1259
Comments
I guess that instead of removing, you mean that if it is in the exact same way in the core profile, it should be linked to it right? |
See the discussion in w3c/wot#996 (comment) and w3c/wot-binding-templates#135. The Core Profile goes way beyond just defining default HTTP verbs and is only suitable for greenfield devices which comply with the whole profile. There may be an argument for keeping a simpler set of defaults for devices which don't conform with the core profile, but the point is currently those defaults are duplicated in three places and easily get out of sync with each other. I don't think the Thing Description specification should include all the defaults from the Core Profile, but it may link to a set of defaults in the WoT Protocol Binding Templates specification, or vice-versa. |
From a historical perspective, we introduced the first http-based binding in the TD specification because the binding document was not stable at that time. (around 2-3 years ago). Since the situation changed we can indeed think about moving parts of the section to the http binding document and remove the rest which is kind of redundant. |
Similar to #1274, this issue is rather related to the organization of the WoT specifications and not necessarily use-case-related. |
As identified in #2006 , this is one of the points to address in the refactoring work. I have compared the relevant section in TD (https://w3c.github.io/wot-thing-description/#http-binding-assertions) with the HTTP Binding Template (https://w3c.github.io/wot-binding-templates/bindings/protocols/http/) and identified the following differences:
|
Regarding point 2 and 5 above, I propose to make them generic assertions that apply to all bindings. One place would be the registry definition, which is normative. Otherwise, it can be a part of the TD spec where the binding mechanism is explained. |
This issue will be closed when the parts added in w3c/wot-binding-templates#380 are removed from the TD spec and #2052 is addressed. |
Consider removing section 8.3.1 Protocol Binding based on HTTP. See w3c/wot#996 (comment)
The text was updated successfully, but these errors were encountered: