superfly / litefs

FUSE-based file system for replicating SQLite databases across a cluster of machines
Apache License 2.0
3.97k stars 95 forks source link

Proxy: assume HEAD requests are read-only #310

Closed tvdfly closed 1 year ago

tvdfly commented 1 year ago

The LiteFS proxy handles GET requests on non-primary nodes. I think we could do the same for HEAD requests. Any objections to that change?

I'm happy to submit a PR if there are no objections. thx!

benbjohnson commented 1 year ago

@tvdfly yeah, that’s a good idea. PR away!