packages/reflex-cache: use GET for pre-flight nar request

This commit is contained in:
Max Headroom 2023-11-10 00:37:43 +01:00
parent ac6eac4889
commit 8edd39d462

View file

@ -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()