lib/onebox/helpers.rb in onebox-1.7.6 vs lib/onebox/helpers.rb in onebox-1.7.7
- old
+ new
@@ -34,12 +34,10 @@
end
request = Net::HTTP::Get.new(uri.request_uri, headers)
start_time = Time.now
- puts Onebox.options.max_download_kb
size_bytes = Onebox.options.max_download_kb * 1024
- puts "size_byes: #{size_bytes}"
http.request(request) do |response|
if cookie = response.get_fields('set-cookie')
header = { 'cookie' => cookie.join }
end