Class: Net::HTTPRequest
- Inherits:
-
Object
- Object
- Net::HTTPRequest
- 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
#reuse ⇒ Object
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 |