From 8edd39d4622803a3d34e2c490f45f10b859d70cf Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 10 Nov 2023 00:37:43 +0100 Subject: [PATCH] packages/reflex-cache: use GET for pre-flight nar request --- packages/servers/reflex-cache/reflex_cache/service_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/servers/reflex-cache/reflex_cache/service_handler.py b/packages/servers/reflex-cache/reflex_cache/service_handler.py index 0fa5aca..b13836f 100644 --- a/packages/servers/reflex-cache/reflex_cache/service_handler.py +++ b/packages/servers/reflex-cache/reflex_cache/service_handler.py @@ -49,7 +49,7 @@ class ReflexHTTPServiceHandler(BaseHTTPRequestHandler): resultHash = self._db.get_path(self.path) if resultHash == None: - code, cache, _ = self._nix.try_all("head", self.path) + code, cache, _ = self._nix.try_all("get", self.path) if code != 200: self.send_response(404) self.end_headers()