Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #1989
| From | Brian Candler <b.candler@pobox.com> |
|---|---|
| Newsgroups | comp.lang.ruby |
| Subject | Re: Net::HTTP.get_response - No Response |
| Date | Wed, 30 Mar 2011 15:36:49 -0500 |
| Organization | Service de news de lacave.net |
| Lines | 28 |
| Message-ID | <a0f0bd0ab4d7b85463f05729772c9b06@ruby-forum.com> (permalink) |
| References | <f0d3dfc94aee7e5b6b04ee74575232bd@ruby-forum.com> |
| NNTP-Posting-Host | bristol.highgroove.com |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | talisker.lacave.net 1301517419 25948 65.111.164.187 (30 Mar 2011 20:36:59 GMT) |
| X-Complaints-To | abuse@lacave.net |
| NNTP-Posting-Date | Wed, 30 Mar 2011 20:36:59 +0000 (UTC) |
| In-Reply-To | <f0d3dfc94aee7e5b6b04ee74575232bd@ruby-forum.com> |
| X-Received-From | This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway |
| X-Mail-Count | 380632 |
| X-Ml-Name | ruby-talk |
| X-Rubymirror | Yes |
| X-Ruby-Talk | <a0f0bd0ab4d7b85463f05729772c9b06@ruby-forum.com> |
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.stben.net!talisker.lacave.net!lacave.net!not-for-mail |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.ruby:1989 |
Show key headers only | View raw
Jeff Bowen wrote in post #989974:
> This was working but stopped. I've made no upgrades to my system.
>
> The code is:
> require 'net/http'
>
> URI.parse("http://www.quibids.com/categories/1-Recently-Completed/")
> responce = Net::HTTP.get_response(url)
> holder = responce.body
> puts responce
>
> The output is:
> #<Net::HTTPFound:0xfe8db8>
That's a redirect (302).
To test without Ruby:
telnet www.quibids.com 80
GET /categories/1-Recently-Completed/ HTTP/1.0
Host: www.quibids.com
<Blank line>
From here I get no response - looks like the site is hanging.
--
Posted via http://www.ruby-forum.com/.
Back to comp.lang.ruby | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Net::HTTP.get_response - No Response Jeff Bowen <ja_bowen@yahoo.com> - 2011-03-30 08:45 -0500
Re: Net::HTTP.get_response - No Response Michael Edgar <adgar@carboni.ca> - 2011-03-30 09:29 -0500
Re: Net::HTTP.get_response - No Response Jeff Bowen <ja_bowen@yahoo.com> - 2011-03-30 10:25 -0500
Re: Net::HTTP.get_response - No Response Brian Candler <b.candler@pobox.com> - 2011-03-30 15:36 -0500
Re: Net::HTTP.get_response - No Response Brian Candler <b.candler@pobox.com> - 2011-03-30 15:39 -0500
csiph-web