Proxy change request type?

Hi.

I have a small service getting resources via tinyproxy and cntlm proxy. Mostly this works pretty well, except that some head requests stall.

My question is if it is possible to configure caddy as proxy in front and change my clients’ head requests to get, but to discard/not receive the response body.

You can configure method in the proxy options, and possibly a handle_response which does nothing, to discard the response.

But that totally seems like the wrong approach. Fix your bug in your upstream app.

1 Like

I agree in principle. It was just a wild thought. The App in this case is windows update. But the issue could be in cntlm or tinyproxy. If nothing works perhaps I need to use a local windows update server.

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