0004-00000501
Updated at:
Problem description
The single-connection bandwidth throttling parameter x-oss-traffic-limit is included in both the request header and the URL request parameters.
Causes
You initiate a request in which the x-oss-traffic-limit parameter is included in the request header and also used as a URL request parameter.
Examples
Example:
GET /test.txt?x-oss-traffic-limit=819200 HTTP/1.0
Date: Tue, 20 Dec 2022 08:48:18 GMT
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Authorization: OSS qn6q**************:77Dv****************
x-oss-traffic-limit: 819200
Solutions
You can use one of the following methods to send a request.
-
Include the single-connection bandwidth throttling header in the request header.
GET /test.txt HTTP/1.0 Date: Tue, 20 Dec 2022 08:48:18 GMT Host: oss-example.oss-cn-hangzhou.aliyuncs.com Authorization: OSS qn6q**************:77Dv**************** x-oss-traffic-limit: 819200 -
Include the single-connection bandwidth throttling parameter only in the request URL.
GET /test.txt?x-oss-traffic-limit=819200 HTTP/1.0 Date: Tue, 20 Dec 2022 08:48:18 GMT Host: oss-example.oss-cn-hangzhou.aliyuncs.com Authorization: OSS qn6q**************:77Dv****************
For more information about single-connection bandwidth throttling, see Single-connection bandwidth throttling.
Is this page helpful?