Added more http tests to open source from the original internal ToF tests. Some of
the tests should be refactored in the future to avoid Assert'ing multiple
logical things.
Fixed up test namespaces for System.Net.Http and
System.Net.Http.WinHttpHandler.
Commit migrated from https://github.com/dotnet/corefx/commit/e5a017cb6ca01e99b1f1462298bc0cbf60c06ee0
- Avoid unnecessary allocations associated with the use of
ToUpperInvariant().
- Update tests to be more explicit about the ToUpperInvariant()
behavior.
- Minor cleanup (readonly field, remove unused usings & trailing
whitespace).
Commit migrated from https://github.com/dotnet/corefx/commit/a75896bd169b6481543d1a99d9d110a1c0339987
A PR from last month changed how GetHashCode() works. This ended up
breaking tests against the .NET Native build of System.Net.Http which
shares the same source code as CoreFx. So, reverting the change in
GetHashCode() and porting additional ToF tests to GitHub.
Commit migrated from https://github.com/dotnet/corefx/commit/2dcf6471f00954b86663f26f5ce45d8c3485017b