@alicloud/dts20200101 1.8.2 → 1.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.js +6 -4
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeDocParserJobResultResponseBody.d.ts +1 -0
- package/dist/models/DescribeDocParserJobResultResponseBody.js +2 -0
- package/dist/models/DescribeDocParserJobResultResponseBody.js.map +1 -1
- package/dist/models/DescribeDtsJobsResponseBody.d.ts +1 -0
- package/dist/models/DescribeDtsJobsResponseBody.js +2 -0
- package/dist/models/DescribeDtsJobsResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +6 -4
- package/src/models/DescribeDocParserJobResultResponseBody.ts +3 -0
- package/src/models/DescribeDtsJobsResponseBody.ts +3 -0
package/dist/client.js
CHANGED
|
@@ -139,11 +139,13 @@ class Client extends openapi_core_1.default {
|
|
|
139
139
|
try {
|
|
140
140
|
let request_ = new $dara.Request();
|
|
141
141
|
let boundary = $dara.Form.getBoundary();
|
|
142
|
+
let tmp = String(form["host"]);
|
|
143
|
+
let host = `${bucketName}.${tmp}`;
|
|
142
144
|
request_.protocol = "HTTPS";
|
|
143
145
|
request_.method = "POST";
|
|
144
146
|
request_.pathname = `/`;
|
|
145
147
|
request_.headers = {
|
|
146
|
-
host:
|
|
148
|
+
host: host,
|
|
147
149
|
date: openapi_core_2.OpenApiUtil.getDateUTCString(),
|
|
148
150
|
'user-agent': openapi_core_2.OpenApiUtil.getUserAgent(""),
|
|
149
151
|
};
|
|
@@ -491,7 +493,7 @@ class Client extends openapi_core_1.default {
|
|
|
491
493
|
contentType: "",
|
|
492
494
|
});
|
|
493
495
|
ossHeader = {
|
|
494
|
-
host:
|
|
496
|
+
host: openapi_core_2.OpenApiUtil.getEndpoint(authResponseBody["Endpoint"], useAccelerate, this._endpointType),
|
|
495
497
|
OSSAccessKeyId: authResponseBody["AccessKeyId"],
|
|
496
498
|
policy: authResponseBody["EncodedPolicy"],
|
|
497
499
|
Signature: authResponseBody["Signature"],
|
|
@@ -1598,7 +1600,7 @@ class Client extends openapi_core_1.default {
|
|
|
1598
1600
|
contentType: "",
|
|
1599
1601
|
});
|
|
1600
1602
|
ossHeader = {
|
|
1601
|
-
host:
|
|
1603
|
+
host: openapi_core_2.OpenApiUtil.getEndpoint(authResponseBody["Endpoint"], useAccelerate, this._endpointType),
|
|
1602
1604
|
OSSAccessKeyId: authResponseBody["AccessKeyId"],
|
|
1603
1605
|
policy: authResponseBody["EncodedPolicy"],
|
|
1604
1606
|
Signature: authResponseBody["Signature"],
|
|
@@ -5841,7 +5843,7 @@ class Client extends openapi_core_1.default {
|
|
|
5841
5843
|
contentType: "",
|
|
5842
5844
|
});
|
|
5843
5845
|
ossHeader = {
|
|
5844
|
-
host:
|
|
5846
|
+
host: openapi_core_2.OpenApiUtil.getEndpoint(authResponseBody["Endpoint"], useAccelerate, this._endpointType),
|
|
5845
5847
|
OSSAccessKeyId: authResponseBody["AccessKeyId"],
|
|
5846
5848
|
policy: authResponseBody["EncodedPolicy"],
|
|
5847
5849
|
Signature: authResponseBody["Signature"],
|