Azure storage 'put block list' returns 400 -


i'm trying upload block blobs azure storage using sas. have uploaded blocks (validated calling blocklist) can't put blocklist work. "bad request 400" back.

the body encoded using utf8 (swift):

body.datausingencoding(nsutf8stringencoding)! 

here request , response:

url: http://mymovies.blob.core.windows.net:80/movies-pub/lte6bb22f5-703f-4ca6-9bde-a8f0dfbd3964.mp4?se=2015-06-14t23%3a21%3a42z&sr=b&sp=rw&sig=equokdjbz2yjfjdkzp7c2yrwvgow70t8dljym4fy9ia%3d&comp=blocklist  body: "<?xml version=\"1.0\" encoding=\"utf-8\"?><blocklist><latest>mdawmdaw</latest><latest>mdawmdax</latest></blocklist>"  server response: 400     allheaderfields: {     "accept-language" = "en;q=1, da;q=0.9, de;q=0.8, es;q=0.7, fr;q=0.6";     "content-length" = 111;     "content-type" = "text/plain; charset=utf-8";     "user-agent" = "myapp/1.0 (iphone; ios 8.3; scale/2.00)";     "x-ms-blob-content-type" = "video/mp4"; } error: request failed: bad request (400) 

as zhaoxing has mentioned, see "sv=" missing.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -