title: How to serve cloudstorage files using app engine SDK
body: <p>In app engine I can serve cloudstorage files like a pdf using the default bucket of my application:</p>
  
  <pre><code>http://storage.googleapis.com/&lt;appid&gt;.appspot.com/&lt;file_name&gt;
  </code></pre>
  
  <p>But how can I serve local cloudstorage files in the SDK, without making use of a blob_key?</p>
  
  <p>I write to the default bucket like this:</p>
  
  <pre><code>gcs_file_name = '/%s/%s' % (app_identity.get_default_gcs_bucket_name(), file_name)
  with gcs.open(gcs_file_name, 'w') as f:
      f.write(data)
  </code></pre>
  
  <p>The name of the default bucket in the SDK = 'app_default_bucket'</p>
  
  <p>In the SDK datastore I have a Kind: <strong>GsFileInfo</strong> showing: filename: /app_default_bucket/example.pdf</p>
  
  <p><strong>Update and workaround: You can get a serving url for NON image files like css, js and pdf.</strong></p>
  
  <pre><code>gs_file = '/gs/%s/%s/%s' % (app_identity.get_default_gcs_bucket_name(), folder, filename)
  serving_url = images.get_serving_url(blobstore.create_gs_key(gs_file))
  </code></pre>