🐛 After enabling the Publish Service Basic authentication, the response Body is a null pointer https://github.com/siyuan-note/siyuan/issues/14925

This commit is contained in:
Daniel 2025-05-28 17:59:59 +08:00
parent 64de28efaf
commit 901362029d
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -144,6 +144,7 @@ func (PublishServiceTransport) RoundTrip(request *http.Request) (response *http.
Header: http.Header{
model.BasicAuthHeaderKey: {model.BasicAuthHeaderValue},
},
Body: http.NoBody,
Close: false,
ContentLength: -1,
}, nil