Small cleanup
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user