Paul Carey
Paul Carey
+1 to get this merged
I've been looking into this as we've not received any APNS feedback since we switched over to APNS2 and since APNSP8 From what I'm reading it looks like the feedback...
Hi Guys, I've got the same problem. One of our end-points will respond with 404 if no resource is available. Currently this raises a JSON:ParseError because we don't return a...
Yeah, well you raise a specific exception for any non 200 responses. This is how rest-client does it... https://github.com/rest-client/rest-client/blob/master/lib/restclient/exceptions.rb
Theres no such thing as a stupid question... We are using roar on both client and server side. So we are sharing the representers in both the client and server....
Thats interesting. I'm going to be working on this again today. It would be ideal if both faraday and net http worked the same really, that will be my aim...
ok cool. I'm not quite upto that just yet. I'm currently creating some internal error classes using YAML from the following gist. https://gist.github.com/paulccarey/e422a3efc7e55daff6a4 I'll dynamically create exception classes for all...
Hey @fwolfst For my use case I really need to know what type of exception has been raised. If its a 404 then thats ok and I know that I...
Hey @fwolfst No problem. I'd argue that if a service is returning a 400/404 then its telling you something is wrong. However as you point out thats not to say...