engine: resources: Workaround regression in wget2

Apparently wget2 has a serious regression that the HTTP 102 header
throws it off... So let's not send this for now... I'm pretty unhappy
about this, wget used to always be rock solid. Maybe curl deserves a
chance? (This works fine with curl btw.)
This commit is contained in:
James Shubin
2024-08-30 20:33:41 -04:00
parent a0972c0752
commit bfa88e9b1c

View File

@@ -196,7 +196,8 @@ func (obj *HTTPProxyRes) serveHTTP(ctx context.Context, requestPath string) (han
// Tell the client right away, that we're working on things...
// TODO: Is this valuable to give us more time to block?
w.WriteHeader(http.StatusProcessing) // http 102, RFC 2518, 10.1
// NOTE: Using this header breaks wget2!
//w.WriteHeader(http.StatusProcessing) // http 102, RFC 2518, 10.1
response, err := client.Do(request) // (*Response, error)
if err != nil {