Commit f17ae76b authored by Mike-no's avatar Mike-no
Browse files

remove set headers If-Match in Send Patch request for individual NS...

remove set headers If-Match in Send Patch request for individual NS Performance Job - HTTP Conditional Request not supported and Send Patch request for individual NS performance Threshold - HTTP Conditional Request not supported methods
parent 576468b9
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -298,7 +298,6 @@ Send Patch request for individual NS Performance Job - HTTP Conditional Request
    Log    Trying to perform a PATCH
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers  {"Content-Type": "${CONTENT_TYPE_PATCH}"}
    Set Headers  {"If-Match": "${invalid_etag}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
    ${template}=    Get File    jsons/PmJobModifications.json
    ${body}=        Format String   ${template}    callbackUri=${callback_uri}    callbackEndpoint=${callback_endpoint}    callbackPort=${callback_port}
@@ -605,7 +604,6 @@ Send Patch request for individual NS performance Threshold - HTTP Conditional Re
    Log    Trying to PUT threshold
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers    {"Content-Type": "${CONTENT_TYPE_PATCH}"}
    Set Headers    {"If-Match": "${invalid_etag}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
    ${template}=    Get File    jsons/ThresholdModifications.json
    ${body}=        Format String   ${template}    callbackUri=${callback_uri}    callbackEndpoint=${callback_endpoint}    callbackPort=${callback_port}