title: EOFError when issueing HTTP requests with Ruby
body: <p>I'm currently writing a script that iterates over a list of URLs and does some processing on them. One URL in my list is giving me a problem however. The code is as follows:</p>
  
  <pre><code>url = "https://secure.www.alumniconnections.com/olc/pub/CDB/events/attendance.cgi?   tmpl=attendance&amp;event=2309515&amp;sort=4"
  uri = URI.parse(url)
  response = Net::HTTP.get_response(uri)
  </code></pre>
  
  <p>The final line raises the following error:</p>
  
  <pre><code>EOFError: end of file reached
      from /usr/lib/ruby/1.8/net/protocol.rb:135:in `sysread'
      from /usr/lib/ruby/1.8/net/protocol.rb:135:in `rbuf_fill'
      from /usr/lib/ruby/1.8/timeout.rb:67:in `timeout'
      from /usr/lib/ruby/1.8/timeout.rb:101:in `timeout'
      from /usr/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill'
      from /usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'
      from /usr/lib/ruby/1.8/net/protocol.rb:126:in `readline'
      from /usr/lib/ruby/1.8/net/http.rb:2028:in `read_status_line'
      from /usr/lib/ruby/1.8/net/http.rb:2017:in `read_new'
      from /usr/lib/ruby/1.8/net/http.rb:1051:in `request'
      from /usr/lib/ruby/1.8/net/http.rb:948:in `request_get'
      from /usr/lib/ruby/1.8/net/http.rb:380:in `get_response'
      from /usr/lib/ruby/1.8/net/http.rb:543:in `start'
      from /usr/lib/ruby/1.8/net/http.rb:379:in `get_response'
      from (irb):5
      from /usr/lib/ruby/1.8/uri/ftp.rb:190
  </code></pre>
  
  <p>No other URLs in my list seem to be giving me any grief. Can anyone explain why I'm getting this error?</p>