Incosistent behaviour: server error
Reported by Guilherme Silveira | April 8th, 2010 @ 02:31 PM
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!
Comments and changes to this ticket
-
Guilherme Silveira April 12th, 2010 @ 02:53 PM
- Milestone changed from v0.7 to v0.7.1
-
Guilherme Silveira April 28th, 2010 @ 01:10 PM
- Milestone changed from v0.7.1 to v0.8
-
Guilherme Silveira May 27th, 2010 @ 03:35 PM
- Milestone cleared.
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »