def _handle_post(gs_stub, filename, headers):
 content_type = _ContentType(headers)
 token = gs_stub.post_start_creation(filename, headers)
 response_headers = {'location': ('https://storage.googleapis.com/%s?%s' % (filename, urllib.urlencode({'upload_id': token}))), 'content-type': content_type.value, 'content-length': 0}
 return _FakeUrlFetchResult(201, response_headers, '')

def _handle_post ( gs_stub , filename , headers ) : content_type = _ContentType ( headers ) token = gs_stub . post_start_creation ( filename , headers ) response_headers = { 'location' : ( 'https://storage.googleapis.com/%s?%s' % ( filename , urllib . urlencode ( { 'upload_id' : token } ) ) ) , 'content-type' : content_type . value , 'content-length' : 0 } return _FakeUrlFetchResult ( 201 , response_headers , '' )
handle post that starts object creation .