HTTP: Proper Response for Downstream Request Failing
<p>Say I have service <a href="http://myservice.dev:8080/resource/get/id" rel="nofollow">http://myservice.dev:8080/resource/get/id</a> which calls another service <a href="http://otherservice.dev:8080/resource/get/name" rel="nofollow">http://otherservice.dev:8080/resource/get/name</a>.  If the second service does not respond because it is down, what is the proper response the calling service should return to the client?  Assume that it is critical for the request to call the second service.</p>

<p>I was thinking 504 gateway timeout but it sounds like this is for the upstream gateway...</p>