| In: |
lib/Borges/RequestHandler/DocumentHandler.rb
|
| Parent: | Object |
DocumentHandler handles requests for static documents. DocumentHandlers never expire, but only one DocumentHandler for a particular piece of content and MIME type can be registered, saving space.
| document | [R] | The document held by this DocumentHandler. |
| response | [RW] | The HTTP response held by this DocumentHandler. |
Creates a new DocumentHandler with the MIME type mime_type that contains obj as its contents.
A DocumentHandlers is eql? to another object when: