We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f31914 commit a52f0f9Copy full SHA for a52f0f9
ctx_test.go
@@ -1421,9 +1421,9 @@ func Benchmark_Ctx_Fresh_LastModified(b *testing.B) {
1421
app := New()
1422
c := app.AcquireCtx(&fasthttp.RequestCtx{})
1423
1424
+ c.Response().Header.Set(HeaderLastModified, "Wed, 21 Oct 2015 07:28:00 GMT")
1425
+ c.Request().Header.Set(HeaderIfModifiedSince, "Wed, 21 Oct 2015 07:28:00 GMT")
1426
for n := 0; n < b.N; n++ {
- c.Response().Header.Set(HeaderLastModified, "Wed, 21 Oct 2015 07:28:00 GMT")
- c.Request().Header.Set(HeaderIfModifiedSince, "Wed, 21 Oct 2015 07:28:00 GMT")
1427
c.Fresh()
1428
}
1429
0 commit comments