[System.Net.Http] Fix CFNetworkHandler.CookieContainer not to return null (#3141)
commit999ed78aa714bf89f44c2ecc5547c563b6e8a3c2
authorSebastien Pouliot <sebastien.pouliot@gmail.com>
Sat, 11 Jun 2016 18:21:21 +0000 (11 14:21 -0400)
committerGitHub <noreply@github.com>
Sat, 11 Jun 2016 18:21:21 +0000 (11 14:21 -0400)
tree98d66db17a669aaafea3299606cda67f9a07abb4
parentfe50acb6ff5ac22801980f53f85513f3a9ce8c5f
[System.Net.Http] Fix CFNetworkHandler.CookieContainer not to return null (#3141)

* [System.Net.Http] Fix CFNetworkHandler.CookieContainer not to return null

This aligns the handler with the managed HttpClientHandler [1] and make
it easier to switch between them without additional or conditional code.

[1] https://github.com/mono/mono/blob/14f8acced5bbb2f6d55fb3e7800382700bcc65eb/mcs/class/System.Net.Http/System.Net.Http/HttpClientHandler.cs#L97
mcs/class/System.Net.Http/CFNetworkHandler.cs