(s, http, postproc)
return HttpRequest(
        http,
        postproc,
        uri=d['uri'],
        method=d['method'],
        body=d['body'],
        headers=d['headers'],
        methodId=d['methodId'],
        resumable=d['resumable'])
Returns an HttpRequest populated with info from a JSON object.
Returns an HttpRequest populated with info from a JSON object.
Returns an HttpRequest populated with info from a JSON object .
def from_json(s, http, postproc):
    """Returns an HttpRequest populated with info from a JSON object."""
    d = simplejson.loads(s)
    if d['resumable'] is not None:
      d['resumable'] = MediaUpload.new_from_json(d['resumable'])
    return HttpRequest(
        http,
        postproc,
        uri=d['uri'],
        method=d['method'],
        body=d['body'],
        headers=d['headers'],
        methodId=d['methodId'],
        resumable=d['resumable'])
def from_json ( s , http , postproc ) : d = simplejson . loads ( s ) if d [ 'resumable' ] is not None : d [ 'resumable' ] = MediaUpload . new_from_json ( d [ 'resumable' ] ) return HttpRequest ( http , postproc , uri = d [ 'uri' ] , method = d [ 'method' ] , body = d [ 'body' ] , headers = d [ 'headers' ] , methodId = d [ 'methodId' ] , resumable = d [ 'resumable' ] )