Home
last modified time | relevance | path

Searched refs:body_file (Results 1 – 8 of 8) sorted by relevance

/external/chromium-trace/trace-viewer/third_party/WebOb/docs/pycon2011/
Dresponse_table.rst25 body_file b File-like obj re…
64 body_file x stream
/external/chromium-trace/trace-viewer/third_party/WebOb/webob/
Drequest.py232 fs = cgi_FieldStorage(fp=self.body_file,
238 fs = cgi_FieldStorage(fp=self.body_file,
247 r.body_file = fout
296 body_file = property(_body_file__get, variable in BaseRequest
702 r = self.body_file.read(self.content_length)
774 vars, body_file = env['webob._parsed_post_vars']
775 if body_file is self.body_file_raw:
799 fp=self.body_file,
806 fp=self.body_file,
966 self.body = self.body_file.read(self.content_length)
[all …]
Dresponse.py452 body_file = property(_body_file__get, _body_file__set, _body_file__del, variable in Response
/external/chromium-trace/trace-viewer/third_party/WebOb/docs/
Ddifferences.txt27 available through ``req.body_file``
59 Available in ``res.body_file.write(content)``.
257 ``req.body_file``
381 In ``req.body_file``
427 In ``req.body_file``
616 write to ``resp.body_file``, but it does not allow unicode.
Dnews.txt485 * Make ``Response.body_file`` settable. This is now valid:
486 ``Response(body_file=open('foo.bin'), content_type=...)``
548 * Deny setting req.body or req.body_file to non-empty values for GET, HEAD and
577 * ``req.body_file`` is now safer to read directly. For ``GET`` and other similar requests
581 * Setting ``req.body_file`` to a string now produces a PendingDeprecationWarning.
583 set ``req.body_file`` to a file-like object or set ``req.body`` to a string value.
607 Getting ``req.body_file`` does not make input stream seekable, but there's a new property
667 * ``req.body_file`` is always seekable. To access ``env['wsgi.input']`` without any processing,
678 * Fix ``req.body_file = f`` setting ``CONTENT_LENGTH`` to ``-1`` (now removes from environ)
1039 like `req.make_body_seekable(); req.body_file.seek(0)`
Dindex.txt95 ``PUT``. You can also get ``req.body_file`` for a file-like
204 ``response.body_file`` (a file-like object; writing to it appends
Dreference.txt93 >>> hasattr(req.body_file, 'read')
99 >>> hasattr(req.body_file, 'read')
645 >>> f = res.body_file
/external/chromium-trace/trace-viewer/third_party/webapp2/docs/guide/
Drequest.rst41 ``body`` and ``body_file``: ``body`` is the body content as a byte string and
42 ``body_file`` provides a file-like interface to the same data::