nmos-testing icon indicating copy to clipboard operation
nmos-testing copied to clipboard

Accept header treatment for transport files

Open cristian-recoseanu opened this issue 2 years ago • 1 comments

Is it worth adding a test to check if nodes can accept or at the very least ignore and return a response for a client requesting the transport file and proving an Accept header of application/sdp?

We've seen cases where nodes return an error code when an Accept header of application/sdp is provided but return the response correctly if no Accept header is provided.

This probably requires both IS-04 manifest_href uri and IS-05 /transportfile uri's to be checked by the test suite.

cristian-recoseanu avatar Aug 24 '22 12:08 cristian-recoseanu

May also apply to other API endpoints in that they should accept Accept: application/json.

garethsb avatar Aug 24 '22 12:08 garethsb