aboutsummaryrefslogtreecommitdiff
path: root/scene/main/http_request.cpp
diff options
context:
space:
mode:
authorJ08nY2016-06-03 17:55:28 +0200
committerJ08nY2016-06-03 18:03:12 +0200
commitdd4eaa10051407034bf854a7f876fbb6d1027f01 (patch)
treecfdd8795e5139c84d019074e1a7ca08918409c51 /scene/main/http_request.cpp
parent45163b10bebb07769fdb103a76468915e0066f76 (diff)
downloadgodot-dd4eaa10051407034bf854a7f876fbb6d1027f01.tar.gz
godot-dd4eaa10051407034bf854a7f876fbb6d1027f01.tar.zst
godot-dd4eaa10051407034bf854a7f876fbb6d1027f01.zip
Exposed a RESULT_DOWNLOAD_FILE_CANT_OPEN constant to docs and GDScript.
Diffstat (limited to 'scene/main/http_request.cpp')
-rw-r--r--scene/main/http_request.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/main/http_request.cpp b/scene/main/http_request.cpp
index 328ad8fb2..232061662 100644
--- a/scene/main/http_request.cpp
+++ b/scene/main/http_request.cpp
@@ -480,8 +480,9 @@ void HTTPRequest::_bind_methods() {
BIND_CONSTANT( RESULT_NO_RESPONSE );
BIND_CONSTANT( RESULT_BODY_SIZE_LIMIT_EXCEEDED );
BIND_CONSTANT( RESULT_REQUEST_FAILED );
- BIND_CONSTANT( RESULT_REDIRECT_LIMIT_REACHED );
+ BIND_CONSTANT( RESULT_DOWNLOAD_FILE_CANT_OPEN );
BIND_CONSTANT( RESULT_DOWNLOAD_FILE_WRITE_ERROR );
+ BIND_CONSTANT( RESULT_REDIRECT_LIMIT_REACHED );
}