diff --git a/vars/drafter.groovy b/vars/drafter.groovy index 7cd73b4..d9a408c 100644 --- a/vars/drafter.groovy +++ b/vars/drafter.groovy @@ -59,6 +59,7 @@ def response = httpRequest(customHeaders: [[name: 'Accept', value: type]], authentication: credentials, httpMode: 'POST', + validResponseCodes: '200:599', url: "${baseUrl}/v1/draftset/${id}/query?query=${sparqlQuery}&union-with-live=true") if (response.status == 200) { return response.content