Fix to convert 'lime-default-timeout' to int from String
This commit is contained in:
committed by
Joshua Granick
parent
04607b5fc0
commit
a270a83890
@@ -58,7 +58,7 @@ private class AbstractHTTPRequest<T> implements _IHTTPRequest {
|
||||
formData = new Map ();
|
||||
headers = [];
|
||||
method = GET;
|
||||
timeout = #if lime_default_timeout Compiler.getDefine ("lime-default-timeout") #else 30000 #end;
|
||||
timeout = #if lime_default_timeout Std.parseInt( Compiler.getDefine ("lime-default-timeout") ) #else 30000 #end;
|
||||
withCredentials = false;
|
||||
|
||||
#if !display
|
||||
|
||||
Reference in New Issue
Block a user