Class: Net::HTTPRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/net/ntlm_http.rb

Overview

because of the handshaking i have to rewind body stream. maybe body stream shouldn’t be sent when authenticating??

Instance Method Summary collapse

Instance Method Details

#reuseObject



38
39
40
41
42
43
44
# File 'lib/net/ntlm_http.rb', line 38

def reuse
  if body_stream
    begin   body_stream.rewind
    rescue; raise "error rewinding body stream for authentication"
    end
  end
end