(self)
return simplejson.dumps(d)
Returns a JSON representation of the HttpRequest.
Returns a JSON representation of the HttpRequest.
Returns a JSON representation of the HttpRequest .
def to_json(self):
    """Returns a JSON representation of the HttpRequest."""
    d = copy.copy(self.__dict__)
    if d['resumable'] is not None:
      d['resumable'] = self.resumable.to_json()
    del d['http']
    del d['postproc']

    return simplejson.dumps(d)
def to_json ( self ) : d = copy . copy ( self . __dict__ ) if d [ 'resumable' ] is not None : d [ 'resumable' ] = self . resumable . to_json ( ) del d [ 'http' ] del d [ 'postproc' ] return simplejson . dumps ( d )