summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ08nY <jancar.jj@gmail.com>2016-06-03 17:55:28 +0200
committerJ08nY <jancar.jj@gmail.com>2016-06-03 18:03:12 +0200
commitdd4eaa10051407034bf854a7f876fbb6d1027f01 (patch)
treecfdd8795e5139c84d019074e1a7ca08918409c51
parent45163b10bebb07769fdb103a76468915e0066f76 (diff)
Exposed a RESULT_DOWNLOAD_FILE_CANT_OPEN constant to docs and GDScript.
-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 328ad8fb26..2320616629 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 );
}