Skip to content

Commit a0982e9

Browse files
authored
Update http_result.gd
Fix a bug that is very unlikely to cause issues, therefore I'll consider this part of 2.0.0
1 parent 6546a27 commit a0982e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/awaitable_http_request/http_result.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func status_ok() -> bool:
1919

2020
## Checks whether the [member status] is between 400 and 599 (inclusive), see [url]https://developer.mozilla.org/en-US/docs/Web/HTTP/Status[/url].
2121
func status_err() -> bool:
22-
return status >= 400 and status < 599
22+
return status >= 400 and status < 600
2323

2424
## The response body as a [String].[br]
2525
## For other formatting (ascii, utf16, ...) or special use-cases (file I/O, ...), it is possible to access the raw body's [member bytes].[br]

0 commit comments

Comments
 (0)