Skip to content

Conversation

@andrueastman
Copy link
Contributor

@andrueastman andrueastman commented Aug 24, 2022

Changes include:

Microsoft Reviewers: Open in CodeFlow

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

3 participants