-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The fastf1 CORS proxy was generated using a prompt to claude.ai and inspired by the monkey patching trick used by requests-cache to patch requests and add cacheing abilities to it without having ro fork the requests package itself.
The code included the fastf1_proxy is currently tied in to fastf1 but could presumably be simplified to produce:
- a package that can add a proxy to
requestsin the absence ofrequests-cache; - a package that can add a proxy to
requestsin the presence ofrequests-cache.
Also, the fastf1 package could be iterated to use the fastf1 logger, and then either added as a monkey patch package to fastf1 or integrated more deeply within the fastf1 requests machinery.
I suspect that the fastf1 live timing requests don't work in their current form in emscripten environments, but if they did, would they need proxying too?
Metadata
Metadata
Assignees
Labels
No labels