又拍云分片上传初始化上传总是失败
policy-json:"{"expiration":1440593568,"file_blocks":5,"file_hash":"23727357ece4d36c19c3477d7a3c0a9b","file_size":4221642,"path":"23727357ece4d36c19c3477d7a3c0a9b.zip"}
policy-base64:eyJleHBpcmF0aW9uIjoxNDQwNTkzNTY4LCJmaWxlX2Jsb2NrcyI6NSwiZmlsZV9oYXNoIjoiMjM3MjczNTdlY2U0ZDM2YzE5YzM0NzdkN2EzYzBhOWIiLCJmaWxlX3NpemUiOjQyMjE2NDIsInBhdGgiOiIyMzcyNzM1N2VjZTRkMzZjMTljMzQ3N2Q3YTNjMGE5Yi56aXAifQ==
请求数据:
POST /ncmemfile/ HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 258
User-Agent: HttpUploader7
Host: m0.api.upyun.com
DNT: 1
Connection: Keep-Alive
Cache-Control: no-cache
policy=eyJleHBpcmF0aW9uIjoxNDQwNTkzNTY4LCJmaWxlX2Jsb2NrcyI6NSwiZmlsZV9oYXNoIjoiMjM3MjczNTdlY2U0ZDM2YzE5YzM0NzdkN2EzYzBhOWIiLCJmaWxlX3NpemUiOjQyMjE2NDIsInBhdGgiOiIyMzcyNzM1N2VjZTRkMzZjMTljMzQ3N2Q3YTNjMGE5Yi56aXAifQ==&signature=f47728c28b842409d95706ce01e822e5
返回值:
HTTP/1.1 401 Unauthorized
Server: vivi/0.4
Content-Type: application/json; charset=utf-8
Connection: keep-alive
X-Request-Id: 8e4c0cd78a2259b3a9db72d683c114b6
Content-Length: 45
X-Powered-By: Crocodile/v0.1.7+15w30b
Access-Control-Allow-Origin: *
Date: Wed, 26 Aug 2015 03:51:51 GMT
Access-Control-Allow-Methods: GET,HEAD,PUT,POST,DELETE
X-Vivi-Streaming: on
X-Request-Path: cun-ha-cgo-198
{"error_code":40101,"message":"Auth failed."}
shaoish
9 years, 5 months ago