Re:I've been abusing HTTP Status Codes in my APIs for years
by SahAssar on Wednesday July 13, 2022 @12:46PM
(#32085250)
> Did I mention that httpClient, by default, doesn't let you get 404 error bodies?
Why would a http client not let you get http response bodies for statuses that usually send bodies? I could understand it for a 201, and definitely for a 204, but for a 404 it just seems like bad design of the client.
Why would a http client not let you get http response bodies for statuses that usually send bodies? I could understand it for a 201, and definitely for a 204, but for a 404 it just seems like bad design of the client.