Comments (2)
Thanks for reporting. I will look into it but have a feeling is related to #213 which is just fixed during .NET 5.0.
They tried to fix it twice they messed up twice. This will be the 3rd time.
from cachecow.
OK, apologies for not being able to look into it.
There is no problem in .NET 5.0, one of the tests do not work which I am looking into.
As for your example your assert is wrong. It fails on first time round in fact, since you expect false while it is null.
Change it so you can see:
[Fact]
public async Task Simple_Caching_Example_From_Issue263()
{
var client = ClientExtensions.CreateClient();
const string CacheableResource = "https://code.jquery.com/jquery-3.3.1.slim.min.js";
var response = await client.GetAsync(CacheableResource);
var responseFromCache = await client.GetAsync(CacheableResource);
Assert.Equal(true, response.Headers.GetCacheCowHeader().DidNotExist);
Assert.Equal(true, responseFromCache.Headers.GetCacheCowHeader().RetrievedFromCache);
}
from cachecow.
Related Issues (20)
- RedisCacheStore - Buffer cannot be null HOT 4
- Problems using it in a .NET 5 WebApi project HOT 4
- New builds for .NET 5.0
- Client cached response content unable to read more than once HOT 7
- Microsoft has broken TraceSwitch in .NET Core
- Source code cannot be mapped for released nuget packages HOT 4
- Possibility to update Microsoft.AspNet.WebApi.Client to 5.2.9 HOT 2
- Tests sending HttpRequest is failing
- Question: Assistance with `.net60` WebApi HOT 6
- System.TypeLoadException: Could not load type 'CacheCow.Common.ConfigurationValueProvider' from assembly 'CacheCow.Common, Version=2.11.2.0 HOT 4
- Can PUT or Patch be made to return an ETag HOT 4
- use SqlStore in .net core HOT 2
- 0.6.3 to 2.11.3 Migration - Replacement for IRoutePatternProvider? HOT 2
- Wrong casing in ETag crashes with InvalidOperationException HOT 1
- RobiniaDocs API Explorer
- Support HttpClientFactory HOT 3
- Adding support for .NET 8.0 HOT 2
- Exception on Startup HOT 3
- Create an alternative to HttpMessageContent serialisation
- Review dependencies due to security findings
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cachecow.