Please sign in to comment.
called start_with_request without a block, because as Net:HTTP's star…
…t method description says, it will open AND close a connection if start is called with a block. In this case Net:HTTP then later tries to close that same connection again if the server's response has "Connection: close" in its header. In that case Net:HTTP will throw an IOError.
- Loading branch information...
Showing with 3 additions and 4 deletions.