          key = str(uuid.uuid1())
          pathname = os.path.join(OBJECT_STORE_DIR, key)
          pickle.dump(self.CONTENT, open(pathname, 'wb'))
          remove_oldest_files(OBJECT_STORE_DIR, MAX_FILES)
          return Response(status.HTTP_201_CREATED, self.CONTENT, {'Location': reverse('stored-object', request, kwargs={'key':key})})
  
  
  class StoredObject(View):
      """
      Represents a stored object.
 
</s> remove         pathname = os.path.join(OBJECT_STORE_DIR, key)
        pickle.dump(self.CONTENT, open(pathname, 'wb'))
 </s> add         filename = get_filename(key)
        pickle.dump(self.CONTENT, open(filename, 'wb'))
 </s> remove         pathname = os.path.join(OBJECT_STORE_DIR, key)
        pickle.dump(self.CONTENT, open(pathname, 'wb'))
 </s> add         filename = get_filename(key)
        pickle.dump(self.CONTENT, open(filename, 'wb')) </s> remove         Update/create a stored object, by pickling the request content to a locally stored file.
 </s> add         Update/create a stored object, by pickling the request content to a
        locally stored file. </s> remove         pathname = os.path.join(OBJECT_STORE_DIR, key)
        if not os.path.exists(pathname):
 </s> add         filename = get_filename(key)
        if not os.path.exists(filename):
        url = get_file_url(key, request)
        return Response(status.HTTP_201_CREATED, self.CONTENT, {'Location': url})
          key = str(uuid.uuid1())
          pathname = os.path.join(OBJECT_STORE_DIR, key)
          pickle.dump(self.CONTENT, open(pathname, 'wb'))
          remove_oldest_files(OBJECT_STORE_DIR, MAX_FILES)
        url = get_file_url(key, request)
        return Response(status.HTTP_201_CREATED, self.CONTENT, {'Location': url})
  
  
  class StoredObject(View):
      """
      Represents a stored object.
keep keep keep keep replace keep keep keep keep keep
 reverse takes request as a kwarg for compatibility with django's reverse 
examples/objectstore/views.py