You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This came up at the Houston interop: The example "controls" entry for the IS-04 Device in chapter 3.1 of the documentation has a trailing slash in its "href":
Similarly, the "API Paths" of section 2.1 states the format for an NMOS API MUST use a path like http(s)://<ip address or hostname>:<port>/x-nmos/<api type>/<api version>/ (note the trailing slash). However, in discussion regarding issues I submitted about this regarding the Sony implementation and the IS-04/-05 tests, there is some belief that the section titled "URLs: Approach to Trailing Slashes" in chapter 2.0 should apply, and that no trailing slashes should appear in the "controls" entries.
Presuming we can come to agreement on what the correct behavior is, can we correct the examples and/or text to match? In particular, some explicit text along with the example "controls" attribute would be helpful.
The text was updated successfully, but these errors were encountered:
billt-hlit
changed the title
Should IS-04 control entry for the IS-05 API have a trailing slash
Should IS-04 control entry for the IS-05 API have a trailing slash?
Feb 26, 2019
I agree that it's a good idea to confirm whether either the trailing slash or its absence is REQUIRED or (only) RECOMMENDED here and make all parts of the specification reflect that.
The specifications have a lot of guidance for server implementations on responding to requests with and without trailing slashes, whether directly or via a redirect. I think what we're missing, unless one or other approach is confirmed as mandatory, is some guidance for clients on how to use the URL, such as Andrew mentioned in AMWA-TV/nmos-testing#139 (comment), "at the very least trim trailing slashes and explicitly re-add one" before e.g. adding "single/senders".
This came up at the Houston interop: The example "controls" entry for the IS-04 Device in chapter 3.1 of the documentation has a trailing slash in its "href":
Similarly, the "API Paths" of section 2.1 states the format for an NMOS API MUST use a path like
http(s)://<ip address or hostname>:<port>/x-nmos/<api type>/<api version>/
(note the trailing slash). However, in discussion regarding issues I submitted about this regarding the Sony implementation and the IS-04/-05 tests, there is some belief that the section titled "URLs: Approach to Trailing Slashes" in chapter 2.0 should apply, and that no trailing slashes should appear in the "controls" entries.Presuming we can come to agreement on what the correct behavior is, can we correct the examples and/or text to match? In particular, some explicit text along with the example "controls" attribute would be helpful.
The text was updated successfully, but these errors were encountered: