Worker: passing requests through to original origin

Hi,

I have a worker which handles requests for a certain path (e.g., /file/123). I would like to set it up so that the worker handles only GET request, but passes PUT and other requests to the original origin host which is set up for the domain. In the worker code I could easily branch based on request method, but is there a way to tell cloudflare to “stop processing this request with this worker and let the original origin handle it” – without explicitly implementing the proxying in the worker?

Thanks!

I am afraid there isn’t. Workers are invoked based on their path and if that matches it will call the Worker.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.