[Documentation]Verify that on a GET HTTP request if nothing is specified on the Accept header, "application/json" is assumed (/subscriptions/{subscriptionId})
[Tags]sub-retrievecb-get6_3_4
${id}=Generate Random Entity Id${subscription_id_prefix}
Changes for TP/NGSI-LD/CommonBehaviours/CommonResponses/VerifyNotAcceptableMediaType/049_01.robot: 5 added lines, 6 removed lines.
Original line number
Diff line number
Diff line
*** Settings ***
DocumentationVerify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header does not imply "application/json" nor "application/ld+json"
[Documentation]Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header does not imply "application/json" nor "application/ld+json" (get /entities/{entityId})
[Tags]e-querycb-noacceptable-medtype6_3_4
${entity_id}=Generate Random Entity Id${building_id_prefix}
049_01_02 Endpoint get /subscriptions/{subscriptionId}
[Documentation]Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header does not imply "application/json" nor "application/ld+json" (get /subscriptions/{subscriptionId})
[Tags]sub-retrievecb-noacceptable-medtype6_3_4
${id}=Generate Random Entity Id${subscription_id_prefix}