Skip to content

Commit 395aff8

Browse files
committed
chore(RESTConnector): Include created in success
1 parent 2396074 commit 395aff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scripts/Connection/RESTConnector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ public IEnumerator Send(string url, Dictionary<string, string> headers)
784784
};
785785
}
786786

787-
Success = postReq.responseCode == HTTP_STATUS_OK || postReq.responseCode == HTTP_STATUS_OK || postReq.responseCode == HTTP_STATUS_NO_CONTENT || postReq.responseCode == HTTP_STATUS_ACCEPTED;
787+
Success = postReq.responseCode == HTTP_STATUS_OK || postReq.responseCode == HTTP_STATUS_CREATED || postReq.responseCode == HTTP_STATUS_NO_CONTENT || postReq.responseCode == HTTP_STATUS_ACCEPTED;
788788
HttpResponseCode = postReq.responseCode;
789789
ResponseHeaders = postReq.GetResponseHeaders();
790790
Data = postReq.downloadHandler.data;

0 commit comments

Comments
 (0)