1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-23 02:35:14 +00:00
QB64-PE/tests/compile_tests/http/statuscode_unstable_noprefix.bas
Matthew Kilgore 12c9c35db5 Add _StatusCode command for HTTP handles
The _StatusCode command returns the status code on the HTTP response
when given a HTTP handle from _OpenClient().
2022-11-20 04:04:02 -05:00

9 lines
189 B
QBasic

$NOPREFIX
$Unstable:Http
' Important so that `StatusCode()` cannot be an array, ensures that this test
' fails if `StatusCode()` cannot be called
Option ExplicitArray
Print StatusCode(2)