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 ae48c2b commit c796d5bCopy full SHA for c796d5b
src/titiler/core/titiler/core/middleware.py
@@ -50,10 +50,7 @@ async def send_wrapper(message: Message):
50
scope["method"] in ["HEAD", "GET"]
51
and message["status"] < self.cachecontrol_max_http_code
52
and not any(
53
- [
54
- re.match(path, scope["path"])
55
- for path in self.exclude_path
56
- ]
+ re.match(path, scope["path"]) for path in self.exclude_path
57
)
58
):
59
response_headers["Cache-Control"] = self.cachecontrol
0 commit comments