Different gateway implementations due to different backend API errors, might return different unsupported errors at our handler layer. Current code posed a problem for us because this information was lost and we would convert it to InternalError in this situation all S3 clients end up retrying the request. To avoid this unexpected situation implement a way to support this cleanly such that the underlying information is not lost which is returned by gateway. |
||
---|---|---|
.. | ||
azure | ||
b2 | ||
gcs | ||
nas | ||
oss | ||
s3 | ||
gateway.go |