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:
@@ -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...
|
// Tell the client right away, that we're working on things...
|
||||||
// TODO: Is this valuable to give us more time to block?
|
// 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)
|
response, err := client.Do(request) // (*Response, error)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user