curl 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of curl might be problematic. Click here for more details.
- data/lib/curl.rb +1 -1
- metadata +2 -2
data/lib/curl.rb
CHANGED
@@ -44,7 +44,7 @@ class CURL
|
|
44
44
|
# @cookies_file = "/home/ruslan/curl.jar"
|
45
45
|
#--header "Accept-Encoding: deflate"
|
46
46
|
# @setup_params = ' --header "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" --header "Accept-Language: en-us,en;q=0.5" --header "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7" '
|
47
|
-
@setup_params =
|
47
|
+
@setup_params = " --connect-timeout #{@connect_timeout} --max-time #{@max_time} --retry #{@retry} --location --compressed --silent -k "
|
48
48
|
# @setup_params = ' --location --silent '
|
49
49
|
yield self if block_given?
|
50
50
|
end
|