fix(integration): define content encoding explicitly when sending article body to Readeck
This commit is contained in:
parent
36c25e7689
commit
2e856a6bf0
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ func (c *Client) CreateBookmark(entryURL, entryTitle string, entryContent string
|
|||
|
||||
contentBodyHeader, err := json.Marshal(&partContentHeader{
|
||||
Url: entryURL,
|
||||
ContentHeader: contentHeader{ContentType: "text/html"},
|
||||
ContentHeader: contentHeader{ContentType: "text/html; charset=utf-8"},
|
||||
})
|
||||
if err != nil {
|
||||
return fmt.Errorf("readeck: unable to encode request body (entry content header): %v", err)
|
||||
|
|
Loading…
Add table
Reference in a new issue