From dd4eaa10051407034bf854a7f876fbb6d1027f01 Mon Sep 17 00:00:00 2001 From: J08nY Date: Fri, 3 Jun 2016 17:55:28 +0200 Subject: [PATCH] Exposed a RESULT_DOWNLOAD_FILE_CANT_OPEN constant to docs and GDScript. --- scene/main/http_request.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scene/main/http_request.cpp b/scene/main/http_request.cpp index 328ad8fb26a..23206166298 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 ); }