Skip to content

Commit

Permalink
add missing content-type (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
bachue authored Sep 2, 2024
1 parent 55f2597 commit 5c1bfe2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions base/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.6.3

- 补充遗漏的 Content-Type

## 0.6.2

- 移除冗余的 uuid 依赖声明
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ class InitPartsTask extends RequestTask<InitParts> with CacheMixin<InitParts> {
data: <String, dynamic>{},
options: Options(
headers: headers,
contentType: Headers.textPlainContentType,
),
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ class UploadPartTask extends RequestTask<UploadPart> {
cancelToken: controller?.cancelToken,
options: Options(
headers: headers,
contentType: 'application/octet-stream',
),
);

Expand Down
2 changes: 1 addition & 1 deletion base/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: qiniu_sdk_base
version: 0.6.2
version: 0.6.3
homepage: https://github.com/qiniu/dart-sdk
description: The sdk basic of Qiniu products

Expand Down

0 comments on commit 5c1bfe2

Please sign in to comment.