documentationhelp wanted
仓库指标
- Star
- (9,070 star)
- PR 合并指标
- (平均合并 2天 17小时) (30 天内合并 71 个 PR)
描述
Everything above 299 is considered an error, which is plainly incorrect.
To get around this I had to:
- add an error decoder
- throw a special exception for 3xx range
- when catching runtime errors, check if it is the special 300 error
- convert to a valid response entity
Will investigate replacing this line:
if (response.status() >= 200 && response.status() < 300) { in SynchronousMethodHandler and PR'ing it. I just wonder why nobody else has come across this issue.
Should I fix it?