Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAUI support #486

Merged
merged 4 commits into from
Aug 25, 2022
Merged

MAUI support #486

merged 4 commits into from
Aug 25, 2022

Conversation

andrueastman
Copy link
Member

@andrueastman andrueastman commented Aug 24, 2022

Changes include:

Microsoft Reviewers: Open in CodeFlow

@@ -177,7 +177,7 @@ private HttpResponseMessage GetResponseMessageFromJObject(JsonElement jResponseI
/// <returns>A batch response content as <see cref="JsonDocument"/>.</returns>
private async Task<JsonDocument> GetBatchResponseContentAsync()
{
if (this.batchResponseMessage.Content == null)
if (this.batchResponseMessage.Content == null || this.batchResponseMessage.Content.Headers.ContentLength == 0 )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (this.batchResponseMessage.Content == null || this.batchResponseMessage.Content.Headers.ContentLength == 0 )
if (this.batchResponseMessage.Content == null || !this.batchResponseMessage.Content.Headers.Any())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants