From: Alexis Laferrière Date: Mon, 8 Jun 2015 13:48:42 +0000 (-0400) Subject: lib/curl: nullable attributes of CurlHTTPRequest are optionnal X-Git-Tag: v0.7.6~52^2 X-Git-Url: http://nitlanguage.org lib/curl: nullable attributes of CurlHTTPRequest are optionnal Signed-off-by: Alexis Laferrière --- diff --git a/lib/curl/curl.nit b/lib/curl/curl.nit index cb3a132..b68623b 100644 --- a/lib/curl/curl.nit +++ b/lib/curl/curl.nit @@ -77,12 +77,12 @@ class CurlHTTPRequest super NativeCurlCallbacks var url: String - var datas: nullable HeaderMap = null is writable - var headers: nullable HeaderMap = null is writable - var delegate: nullable CurlCallbacks = null is writable + var datas: nullable HeaderMap is writable + var headers: nullable HeaderMap is writable + var delegate: nullable CurlCallbacks is writable # Set the user agent for all following HTTP requests - var user_agent: nullable String = null is writable + var user_agent: nullable String is writable # Execute HTTP request with settings configured through attribute fun execute: CurlResponse