From 7a9e929837093e584d33792ccd8fe170d1270626 Mon Sep 17 00:00:00 2001 From: Benoit Orihuela Date: Mon, 20 Mar 2023 19:52:21 +0100 Subject: [PATCH] fix: incorrect Link headers in API utils keywords --- resources/ApiUtils.resource | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/ApiUtils.resource b/resources/ApiUtils.resource index a378cb17..68d3f6de 100755 --- a/resources/ApiUtils.resource +++ b/resources/ApiUtils.resource @@ -56,7 +56,7 @@ Query Entity &{headers}= Create Dictionary &{params}= Create Dictionary Run Keyword If ${accept_length}>0 Set To Dictionary ${headers} Accept ${accept} - Run Keyword If '${context}'!='' Set To Dictionary ${headers} Link=<${context}>; rel="http://www.w3.org/ns/json-ld#context";type=${accept} + Run Keyword If '${context}'!='' Set To Dictionary ${headers} Link=<${context}>; rel="http://www.w3.org/ns/json-ld#context";type="application/ld+json" Run Keyword If ${attrs_length}>0 Set To Dictionary ${params} attrs=${attrs} Run Keyword If '${geoproperty}'!='' Set To Dictionary ${params} geoproperty=${geoproperty} Run Keyword If ${options_length}>0 Set To Dictionary ${params} options=${options} @@ -77,7 +77,7 @@ Query Entities &{headers}= Create Dictionary &{params}= Create Dictionary Run Keyword If ${accept_length}>0 Set To Dictionary ${headers} Accept ${accept} - Run Keyword If '${context}'!='' Set To Dictionary ${headers} Link=<${context}>; rel="http://www.w3.org/ns/json-ld#context";type=${accept} + Run Keyword If '${context}'!='' Set To Dictionary ${headers} Link=<${context}>; rel="http://www.w3.org/ns/json-ld#context";type="application/ld+json" Run Keyword If ${attrs_length}>0 Set To Dictionary ${params} attrs=${attrs} Run Keyword If '${geoproperty}'!='' Set To Dictionary ${params} geoproperty=${geoproperty} Run Keyword If ${options_length}>0 Set To Dictionary ${params} options=${options} -- GitLab