Skip to content

Fix for NullReference exception thrown when contentType is empty#164

Merged
andrueastman merged 1 commit intodevfrom
andrueastman/fixNullReferenceError
Oct 30, 2020
Merged

Fix for NullReference exception thrown when contentType is empty#164
andrueastman merged 1 commit intodevfrom
andrueastman/fixNullReferenceError

Conversation

@andrueastman
Copy link
Contributor

Closes #113

Essentially sometimes the contentype of an error response may be null causing us to fail to return the expected ServiceException

@andrueastman andrueastman self-assigned this Oct 23, 2020
Copy link
Collaborator

@MIchaelMainer MIchaelMainer left a comment

Choose a reason for hiding this comment

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

This will also address #167

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HttpProviders throws NullReferenceException if response has no ContentType header HttpProvider.SendAsync throws NullReferenceException

2 participants