title: How can I set the contentType of a blob on Azure using azure-cli?
body: <p>I am trying to update the contentType of an uploaded file or at least be able to reupload a file with the correct contentType.</p>
  
  <p>In my case I am uploading css but it gives it a content type of application/octet-stream by default.</p>
  
  <p>The command line reference doesn't show how to manage the properties of a blob as far as I can tell</p>
  
  <p><strong>Edit</strong> </p>
  
  <p>If you just create the file apparently you can use </p>
  
  <p><code>azure storage blob create -f {file_name} -p contentType=text/css</code></p>
  
  <p>But I still haven't found a way to edit one yet.</p>