-
Notifications
You must be signed in to change notification settings - Fork 80
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
System.NullReferenceException trying to return a null response #64
Comments
Interesting. We definitely shouldn't be throwing a NRE, but under what situation would the actual HttpClient return null? |
I don't believe it does under Windows but I've seen reports on Android, it was more completeness/exploratory testing |
No problem. I'll happy accept a PR (with tests!) if you're willing/able, otherwise I'll tackle it next time I make changes to the project. |
If you can provide a repro scenario where this actually happens on Android, making sure that it's not actually |
I don't think In general, it should return a response with the result for the request, to describe:
|
I'm going to close this issue. If you can find a real world scenario where this can happen I'm happy to add support |
Trying to test the case when httpClient returns null:
...throws a null reference exception.
The text was updated successfully, but these errors were encountered: