@@ -182,7 +182,8 @@ func (dbx *apiImpl) DocsCreate(arg *PaperDocCreateArgs, content io.Reader) (res
182182 }
183183
184184 headers := map [string ]string {
185- "Content-Type" : "application/octet-stream" ,
185+ "Content-Type" : "application/octet-stream" ,
186+ "Dropbox-API-Arg" : string (b ),
186187 }
187188 if dbx .Config .AsMemberID != "" {
188189 headers ["Dropbox-API-Select-User" ] = dbx .Config .AsMemberID
@@ -254,7 +255,7 @@ func (dbx *apiImpl) DocsDownload(arg *PaperDocExport) (res *PaperDocExportResult
254255 }
255256
256257 headers := map [string ]string {
257- "Content-Type " : "application/json" ,
258+ "Dropbox-API-Arg " : string ( b ) ,
258259 }
259260 if dbx .Config .AsMemberID != "" {
260261 headers ["Dropbox-API-Select-User" ] = dbx .Config .AsMemberID
@@ -888,7 +889,8 @@ func (dbx *apiImpl) DocsUpdate(arg *PaperDocUpdateArgs, content io.Reader) (res
888889 }
889890
890891 headers := map [string ]string {
891- "Content-Type" : "application/octet-stream" ,
892+ "Content-Type" : "application/octet-stream" ,
893+ "Dropbox-API-Arg" : string (b ),
892894 }
893895 if dbx .Config .AsMemberID != "" {
894896 headers ["Dropbox-API-Select-User" ] = dbx .Config .AsMemberID
0 commit comments