diff --git a/lib/net/dav.rb b/lib/net/dav.rb index be87571..d19a93a 100644 --- a/lib/net/dav.rb +++ b/lib/net/dav.rb @@ -63,11 +63,11 @@ def read_timeout=(sec) end def open_timeout - @http.read_timeout + @http.open_timeout end def open_timeout=(sec) - @http.read_timeout = sec + @http.open_timeout = sec end def request_sending_stream(verb, path, stream, length, headers)