We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3174d7e commit fd0333fCopy full SHA for fd0333f
Remora.Rest/Http/RestHttpClient.cs
@@ -651,7 +651,7 @@ private async Task<Result<TEntity>> UnpackResponseAsync<TEntity>
651
}
652
653
// See if we have a JSON error to get some more details from
654
- if (response.Content.Headers.ContentLength is not > 0)
+ if (response.Content.Headers.ContentLength == 0)
655
{
656
return new HttpResultError(response.StatusCode, response.ReasonPhrase);
657
0 commit comments