1
0
Fork 0

Merge pull request #1196 from rqlite/otoolep-patch-1

ABL - thanks GPT-4
master
Philip O'Toole 1 year ago committed by GitHub
commit 8b284799de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -92,7 +92,7 @@ func makeRestoreRequest(b []byte) func(string) (*http.Request, error) {
}
return func(urlStr string) (*http.Request, error) {
req, err := http.NewRequest("POST", urlStr, bytes.NewReader(b))
req.Header["Content-type"] = []string{header}
req.Header.Set("Content-Type", header)
if err != nil {
return nil, err
}

Loading…
Cancel
Save