@steveklabnik what are your feelings on handling errors from a HyperMedia API? Status Codes? Header content? error in the body?
@BenLesh Just Use HTTP. Appropriate status codes, use your media type to put a fuller explanation in the body. I’ll add that to the book! :)
-
-
@steveklabnik@BenLesh Right on. I had to re-read RFC2616. 5XX vs 4XX erors aren't well understood. I was sending 500 when 409 was correct -
@BenLesh yep. Many debs in general just don’t care about HTTP, which is a huge part of a web developer’s job.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.