lib/rawler/request.rb in rawler-0.0.4 vs lib/rawler/request.rb in rawler-0.0.5
- old
+ new
@@ -13,10 +13,10 @@
end
private
def perform_request(method, url)
- uri = URI.parse(URI.encode(url))
+ uri = URI.parse(url)
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = (uri.scheme == 'https')
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
\ No newline at end of file