Small cleanup

This commit is contained in:
Brahim Hadriche committed 2024-02-27 20:04:12 -05:00
1 parent 87e7d91169
commit aebdc579a9
2 files changed
+5 -2

No files matched your search

@@ -574,6 +574,10 @@ namespace HttpClient
return m._statusCode
end function
function OverrideStatusCode(statusCode as integer)
m._statusCode = statusCode
end function
function IsSuccess() as boolean
statusCode = m.StatusCode()
return statusCode >= 200 and statusCode < 400