mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
🐛 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:
parent
64de28efaf
commit
901362029d
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue