Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Incosistent behaviour: server error

#33

Sometimes Restfulie is answering with "Restfulie::Client::HTTP::Error::ServerNotAvailableError: HTTP error 503 when invoking http://localhost:3000/baskets/22/baskets/22 via get" when preparing to receive a request that will return a 415. Stack:

from /Users/guilherme/.rvm/gems/ruby-1.8.7-p249/gems/activesupport-2.3.5/lib/active_support/whiny_nil.rb:52:in `method_missing'
from /Users/guilherme/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/net/http.rb:1060:in `request'
from /Users/guilherme/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/1.8/net/http.rb:772:in `get'
from /Users/guilherme/.rvm/gems/ruby-1.8.7-p249/gems/restfulie-0.7.0/lib/restfulie/client/http/adapter.rb:221:in `send'
from /Users/guilherme/.rvm/gems/ruby-1.8.7-p249/gems/restfulie-0.7.0/lib/restfulie/client/http/adapter.rb:221:in `request!'
from /Users/guilherme/.rvm/gems/ruby-1.8.7-p249/gems/restfulie-0.7.0/lib/restfulie/client/http/marshal.rb:65:in `request!'
from /Users/guilherme/.rvm/gems/ruby-1.8.7-p249/gems/restfulie-0.7.0/lib/restfulie/client/http/adapter.rb:355:in `get!'
from (irb):14

In order to reproduce, execute the following with a content type that Restfulie client understands, but server is unable to produce:

Restfulie.at('http://localhost:3000/baskets/22').accepts('application/atom+xml').get!

Reported by Guilherme Silveira · April 8th, 2010 @ 02:31 PM

State: new
Milestone: none
Assigned to: nobody

Activity

  1. Guilherme Silveira
    Guilherme Silveira
    • Milestone changed from v0.7 to v0.7.1

    April 12th, 2010 @ 02:53 PM

  2. Guilherme Silveira
    Guilherme Silveira
    • Milestone changed from v0.7.1 to v0.8

    April 28th, 2010 @ 01:10 PM

  3. Guilherme Silveira

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.