lib/patron/request.rb in patron-0.8.0 vs lib/patron/request.rb in patron-0.9.1
- old
+ new
@@ -48,15 +48,15 @@
READER_VARS = [
:url, :username, :password, :file_name, :proxy, :proxy_type, :insecure,
:ignore_content_length, :multipart, :action, :timeout, :connect_timeout,
:max_redirects, :headers, :auth_type, :upload_data, :buffer_size, :cacert,
- :ssl_version, :automatic_content_encoding, :force_ipv4
+ :ssl_version, :http_version, :automatic_content_encoding, :force_ipv4, :download_byte_limit
]
WRITER_VARS = [
:url, :username, :password, :file_name, :proxy, :proxy_type, :insecure,
- :ignore_content_length, :multipart, :cacert, :ssl_version, :automatic_content_encoding, :force_ipv4
+ :ignore_content_length, :multipart, :cacert, :ssl_version, :http_version, :automatic_content_encoding, :force_ipv4, :download_byte_limit
]
attr_reader *READER_VARS
attr_writer *WRITER_VARS