twisted.web.test.test_resource.BytesReturnedRenderable(Resource) class documentationtwisted.web.test.test_resource
(View In Hierarchy)
A Resource
with minimal capabilities to render a response.
| Method | __init__ | |
| Method | render_GET | Render a response to a GET request by returning a short byte string to be written by the server. | 
Inherited from Resource:
| Method | listStaticNames | Undocumented | 
| Method | listStaticEntities | Undocumented | 
| Method | listNames | Undocumented | 
| Method | listEntities | Undocumented | 
| Method | listDynamicNames | Undocumented | 
| Method | listDynamicEntities | Undocumented | 
| Method | getStaticEntity | Undocumented | 
| Method | getDynamicEntity | Undocumented | 
| Method | delEntity | Undocumented | 
| Method | reallyPutEntity | Undocumented | 
| Method | getChild | Retrieve a 'child' resource from me. | 
| Method | getChildWithDefault | Retrieve a static or dynamically generated child resource from me. | 
| Method | getChildForRequest | Undocumented | 
| Method | putChild | Register a static child. | 
| Method | render | Render a given resource. See IResource's 
render method. | 
| Method | render_HEAD | Default handling of HEAD method. | 
| Parameters | response | A bytesobject giving the value to return fromrender_GET. |