Efficient ETag parsing

This commit is contained in:
rstoyanchev
2024-08-14 07:19:59 +03:00
parent 63486bf19c
commit bb17ad8314
4 changed files with 165 additions and 45 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2022 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -163,8 +163,8 @@ class ServletWebRequestHttpMethodsTests {
assertOkWithETag(etag);
}
// gh-19127
@SafeHttpMethodsTest
// SPR-14559
void ifNoneMatchShouldNotFailForUnquotedETag(String method) {
setUpRequest(method);
String etag = "\"etagvalue\"";