rest


Correct behavior of proxy for HTTP Error Response Status Codes


What should a proxy do when it comes to HTTP error response status codes? Should it return the response code and response message of the upstream server or should it just return 502 (Bad Gateway) - http://www.restpatterns.org/HTTP_Status_Codes/502_-_Bad_Gateway
The Bad Gateway response is defined as "The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request."
However, a mere 502 may not be enough for the clients to do customized error handling based on HTTP response codes.

Related Links

Rest http code for saved with inactive status
Implement Yii2 models to consume API REST as a client
Format elasticsearch api response to only respond with specific parameter
Generate documentation for custom implementation of Restful webservices
Angular 2 cache dedicated service vs embedded?
timezone in microsoft sharepoint api is inccorect
How do I enable logging for each REST call to my API?
REST API on files
Sabre Create Passenger Record : Authorization failed due to no access privileges
Gimbal Beacon REST API - get all beacons including third party beacons
REST API URL/Endpoints design
DELETE and GET have faulty behavior in a Jax-RS Restful App
Scaling REST API - Architecture
Azure API Manager expose all to public, get rid of Ocp-Apim-Subscription-Key
Rest convention: Should api send details api url for listings or clients hard code them?
what is the best way of securing Rest Api using spring boot java applicqation?

Categories

HOME
arrays
ibm-watson-cognitive
google-cloud-bigtable
vb6
angular2-routing
json-ld
label
aem
google-sheets-api
ruby-on-rails-3
matplotlib
phaser-framework
nodemailer
httpclient
slim-3
keystore
uiscrollview
bootstrap-popover
python-unicode
factor-analysis
anychart
atlassian-plugin-sdk
flexboxgrid
deb
avplayeritem
tcpclient
samsung-mobile
java-ee-7
bus-error
ab-initio
xilinx-ise
dpi
nesc
winscp
partial-application
thinking-sphinx
ioc-container
graph-databases
stocks
shapes
data-extraction
modulo
pace
infusionsoft
rule
control-flow-graph
scalafx
dojox.grid.datagrid
automator
gist
dwarf
decompress
fontconfig
autoresize
onresume
efxclipse
barcode-printing
gulp-typescript
sql-server-administration
chessboard.js
spoofing
django-filer
spark-cassandra-connector
multiple-file-upload
gradle-eclipse
squirrel
spinlock
twgl.js
asynccallback
brackets-shell
p-np
registrykey
futuretask
ubercart
apache-mina
shift-jis
jcr-sql2
kallithea
tilestache
moai
author
yahoo-boss-api
opensocial
anjuta
gfs
sqljdbc
opendata
multiple-login
shiva3d
bulbs
isolatedstorage
file-exists
text-size
nemerle
.app
exitstatus
open-graph-beta
carbide
hibernate3-maven-plugin
scala-2.8
trampolines
openvg
scatterview
inline-if

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App