NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet
NuGet, #951 most downloaded on NuGet
Testing layer for Microsoft's HttpClient library
Latest stable
7.1.0
Last release 3 months ago
08 Aug 2026
Ships unpredictably
gaps range from 8 days to 3.9 years
Most releases are documented
notes for 15 of 21 stable releases
2 versions withdrawn
withdrawn after publishing
127 years old
27 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
Deprecated FallbackMessage property removed (BREAKING) 3.3.0 - Added overloads for including custom headers in the response (thanks Sascha Kiefer!) 3.…
7.1.0 - Fix support for streaming Content, such as used by Refit
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Deprecated FallbackMessage property removed (BREAKING) 3.3.0 - Added overloads for including custom headers in the response (thanks Sascha Kiefer!) 3.…
7.0.0 - Change target profiles to netstandard1.1, netstandard2.0, net5.0, net6.0 (BREAKING)
Deprecated FallbackMessage property removed (BREAKING) 3.3.0 - Added overloads for including custom headers in the response (thanks Sascha Kiefer!) 3.…
7.0.0 - Change target profiles to netstandard1.1, netstandard2.0, net5.0, net6.0 (BREAKING)
Deprecated FallbackMessage property removed (BREAKING) 3.3.0 - Added overloads for including custom headers in the response (thanks Sascha Kiefer!) 3.…
6.0.0 - Assemblies are now strong named (binary BREAKING) #1 5.0.0 - Align with official recommendations on multi-targetting HttpClient: - Add netstandard2.0 target #61 - Change .NET 4.5 target to use in-band System.Net.Http reference (BREAKING) #61 - Remove PCL profile 111 (BREAKING) #18 4.0.0 - Default Fallback message now includes request method and URL (BREAKING) - Deprecated FallbackMessage property removed (BREAKING) 3.3.0 - Added overloads for including custom headers in the response (thanks Sascha Kiefer!) 3.2.1 - XML documentation is now included in the NuGet package. Fixes #52 3.2.0 - MockHttpMessageHandler now tracks successful matches. Fixes #35 - Added WithExactQueryString / WithExactFormData overloads. Fixes #37 - Added BackendDefinitionBehavior to allow matching Backend Definitions when Request Expectations exist, but don't match. Fixes #45 - Fixed typo in Response(HttpResponseMessage) obsolete message. Fixes #44 3.1.0 - Bump major version. Fixes #50 1.5.1 - Respond(HttpClient) now works as expected. Fixes #39 - HttpResponseMessage can be disposed without breaking future requests. Fixes #33 1.5.0 - WithHeaders now also matches against Content-* headers (thanks Cory Lucas!) 1.4.0 - Cancellations and HttpClient timeouts are now supported. Fixes #29 - Added a .ToHttpClient() convenience method to HttpClientHandler 1.3.1 - Multiple requests to the same mocked handler now return unique response streams. Fixes #21 1.3.0 - Added support for .NET Core via the .NET Standard Library (1.1) - Relative URLs now match correctly on Xamarin Android 1.2.2 - Root absolute URLs defined with no trailing flash now match those with a slash (and vice versa) 1.2.1 - HttpResponseMessage.RequestMessage is now assigned correctly - Form/Query data matching now works with both + and %20 space encodings (thanks Jozef Izso!) 1.2.0 - Changed PCL profile to support WP8.1 1.1.0 - Added MockHttpMessageHandler.Fallback and HttpClient passthrough support
Deprecated FallbackMessage property removed (BREAKING) 3.3.0 - Added overloads for including custom headers in the response (thanks Sascha Kiefer!) 3.…
5.0.0 - Align with official recommendations on multi-targetting HttpClient: - Add netstandard2.0 target #61 - Change .NET 4.5 target to use in-band System.Net.Http reference (BREAKING) #61 - Remove PCL profile 111 (BREAKING) #18 4.0.0 - Default Fallback message now includes request method and URL (BREAKING) - Deprecated FallbackMessage property removed (BREAKING) 3.3.0 - Added overloads for including custom headers in the response (thanks Sascha Kiefer!) 3.2.1 - XML documentation is now included in the NuGet package. Fixes #52 3.2.0 - MockHttpMessageHandler now tracks successful matches. Fixes #35 - Added WithExactQueryString / WithExactFormData overloads. Fixes #37 - Added BackendDefinitionBehavior to allow matching Backend Definitions when Request Expectations exist, but don't match. Fixes #45 - Fixed typo in Response(HttpResponseMessage) obsolete message. Fixes #44 3.1.0 - Bump major version. Fixes #50 1.5.1 - Respond(HttpClient) now works as expected. Fixes #39 - HttpResponseMessage can be disposed without breaking future requests. Fixes #33 1.5.0 - WithHeaders now also matches against Content-* headers (thanks Cory Lucas!) 1.4.0 - Cancellations and HttpClient timeouts are now supported. Fixes #29 - Added a .ToHttpClient() convenience method to HttpClientHandler 1.3.1 - Multiple requests to the same mocked handler now return unique response streams. Fixes #21 1.3.0 - Added support for .NET Core via the .NET Standard Library (1.1) - Relative URLs now match correctly on Xamarin Android 1.2.2 - Root absolute URLs defined with no trailing flash now match those with a slash (and vice versa) 1.2.1 - HttpResponseMessage.RequestMessage is now assigned correctly - Form/Query data matching now works with both + and %20 space encodings (thanks Jozef Izso!) 1.2.0 - Changed PCL profile to support WP8.1 1.1.0 - Added MockHttpMessageHandler.Fallback and HttpClient passthrough support
Deprecated FallbackMessage property removed (BREAKING) 3.3.0 - Added overloads for including custom headers in the response (thanks Sascha Kiefer!) 3.…
4.0.0 - Default Fallback message now includes request method and URL (BREAKING)
3.3.0 - Added overloads for including custom headers in the response (thanks Sascha Kiefer!) 3.2.1 - XML documentation is now included in the NuGet pa
3.3.0 - Added overloads for including custom headers in the response (thanks Sascha Kiefer!) 3.2.1 - XML documentation is now included in the NuGet package. Fixes #52 3.2.0 - MockHttpMessageHandler now tracks successful matches. Fixes #35 - Added WithExactQueryString / WithExactFormData overloads. Fixes #37 - Added BackendDefinitionBehavior to allow matching Backend Definitions when Request Expectations exist, but don't match. Fixes #45 - Fixed typo in Response(HttpResponseMessage) obsolete message. Fixes #44 3.1.0 - Bump major version. Fixes #50 1.5.1 - Respond(HttpClient) now works as expected. Fixes #39 - HttpResponseMessage can be disposed without breaking future requests. Fixes #33 1.5.0 - WithHeaders now also matches against Content-* headers (thanks Cory Lucas!) 1.4.0 - Cancellations and HttpClient timeouts are now supported. Fixes #29 - Added a .ToHttpClient() convenience method to HttpClientHandler 1.3.1 - Multiple requests to the same mocked handler now return unique response streams. Fixes #21 1.3.0 - Added support for .NET Core via the .NET Standard Library (1.1) - Relative URLs now match correctly on Xamarin Android 1.2.2 - Root absolute URLs defined with no trailing flash now match those with a slash (and vice versa) 1.2.1 - HttpResponseMessage.RequestMessage is now assigned correctly - Form/Query data matching now works with both + and %20 space encodings (thanks Jozef Izso!) 1.2.0 - Changed PCL profile to support WP8.1 1.1.0 - Added MockHttpMessageHandler.Fallback and HttpClient passthrough support
3.2.1 - XML documentation is now included in the NuGet package. Fixes #52 3.2.0 - MockHttpMessageHandler now tracks successful matches. Fixes #35
3.2.1 - XML documentation is now included in the NuGet package. Fixes #52 3.2.0 - MockHttpMessageHandler now tracks successful matches. Fixes #35 - Added WithExactQueryString / WithExactFormData overloads. Fixes #37 - Added BackendDefinitionBehavior to allow matching Backend Definitions when Request Expectations exist, but don't match. Fixes #45 - Fixed typo in Response(HttpResponseMessage) obsolete message. Fixes #44 3.1.0 - Bump major version. Fixes #50 1.5.1 - Respond(HttpClient) now works as expected. Fixes #39 - HttpResponseMessage can be disposed without breaking future requests. Fixes #33 1.5.0 - WithHeaders now also matches against Content-* headers (thanks Cory Lucas!) 1.4.0 - Cancellations and HttpClient timeouts are now supported. Fixes #29 - Added a .ToHttpClient() convenience method to HttpClientHandler 1.3.1 - Multiple requests to the same mocked handler now return unique response streams. Fixes #21 1.3.0 - Added support for .NET Core via the .NET Standard Library (1.1) - Relative URLs now match correctly on Xamarin Android 1.2.2 - Root absolute URLs defined with no trailing flash now match those with a slash (and vice versa) 1.2.1 - HttpResponseMessage.RequestMessage is now assigned correctly - Form/Query data matching now works with both + and %20 space encodings (thanks Jozef Izso!) 1.2.0 - Changed PCL profile to support WP8.1 1.1.0 - Added MockHttpMessageHandler.Fallback and HttpClient passthrough support
3.2.0 - MockHttpMessageHandler now tracks successful matches. Fixes #35
3.2.0 - MockHttpMessageHandler now tracks successful matches. Fixes #35 - Added WithExactQueryString / WithExactFormData overloads. Fixes #37 - Added BackendDefinitionBehavior to allow matching Backend Definitions when Request Expectations exist, but don't match. Fixes #45 - Fixed typo in Response(HttpResponseMessage) obsolete message. Fixes #44 3.1.0 - Bump major version. Fixes #50 1.5.1 - Respond(HttpClient) now works as expected. Fixes #39 - HttpResponseMessage can be disposed without breaking future requests. Fixes #33 1.5.0 - WithHeaders now also matches against Content-* headers (thanks Cory Lucas!) 1.4.0 - Cancellations and HttpClient timeouts are now supported. Fixes #29 - Added a .ToHttpClient() convenience method to HttpClientHandler 1.3.1 - Multiple requests to the same mocked handler now return unique response streams. Fixes #21 1.3.0 - Added support for .NET Core via the .NET Standard Library (1.1) - Relative URLs now match correctly on Xamarin Android 1.2.2 - Root absolute URLs defined with no trailing flash now match those with a slash (and vice versa) 1.2.1 - HttpResponseMessage.RequestMessage is now assigned correctly - Form/Query data matching now works with both + and %20 space encodings (thanks Jozef Izso!) 1.2.0 - Changed PCL profile to support WP8.1 1.1.0 - Added MockHttpMessageHandler.Fallback and HttpClient passthrough support
3.1.0 - Bump major version. Fixes #50 1.5.1 - Respond(HttpClient) now works as expected. Fixes #39
3.1.0 - Bump major version. Fixes #50 1.5.1 - Respond(HttpClient) now works as expected. Fixes #39 - HttpResponseMessage can be disposed without breaking future requests. Fixes #33 1.5.0 - WithHeaders now also matches against Content-* headers (thanks Cory Lucas!) 1.4.0 - Cancellations and HttpClient timeouts are now supported. Fixes #29 - Added a .ToHttpClient() convenience method to HttpClientHandler 1.3.1 - Multiple requests to the same mocked handler now return unique response streams. Fixes #21 1.3.0 - Added support for .NET Core via the .NET Standard Library (1.1) - Relative URLs now match correctly on Xamarin Android 1.2.2 - Root absolute URLs defined with no trailing flash now match those with a slash (and vice versa) 1.2.1 - HttpResponseMessage.RequestMessage is now assigned correctly - Form/Query data matching now works with both + and %20 space encodings (thanks Jozef Izso!) 1.2.0 - Changed PCL profile to support WP8.1 1.1.0 - Added MockHttpMessageHandler.Fallback and HttpClient passthrough support
Nothing published for this version
Respond(HttpClient) now works as expected. Fixes #39
1.5.0 - WithHeaders now also matches against Content-* headers (thanks Cory Lucas!)
1.4.0 - Cancellations and HttpClient timeouts are now supported. Fixes #29 - Added a .ToHttpClient() convenience method to HttpClientHandler
1.3.1 - Multiple requests to the same mocked handler now return unique response streams. Fixes #21
1.3.0 - Added support for .NET Core via the .NET Standard Library (1.1) - Relative URLs now match correctly on Xamarin Android 1.2.2 - Root absolute URLs defined with no trailing flash now match those with a slash (and vice versa)
1.2.1 - HttpResponseMessage.RequestMessage is now assigned correctly - Form/Query data matching now works with both + and %20 space encodings (thanks Jozef Izso!)
WithHeaders now also matches against Content-\* headers (thanks Cory Lucas!)
Nothing published for this version
Cancellations and HttpClient timeouts are now supported. Fixes #29
- #21 Unique HttpContent instances are now created where possible for multiple requests to the same mock handler
- #10 Add support for .NET Core - #16 Relative URLs always fail to match on Xamarin Android
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
1.1.0 - Added MockHttpMessageHandler.Fallback and HttpClient passthrough support
1.1.0 - Added MockHttpMessageHandler.Fallback and HttpClient passthrough support
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.