'For an HTTP 1.0 request for a resource with a known last modified time,
L{http.Request.write} sends an HTTP Response-Line, whatever response
headers are set, and a last-modified header with that time.'

def test_firstWriteLastModified(self):

    channel = DummyChannel()
    req = http.Request(channel, False)
    trans = StringTransport()
    channel.transport = trans
    req.setResponseCode(200)
    req.clientproto = 'HTTP/1.0'
    req.lastModified = 0
    req.responseHeaders.setRawHeaders('test', ['lemur'])
    req.write('Hello')
    self.assertResponseEquals(trans.value(), [('HTTP/1.0    200    OK', 'Test:    lemur', 'Last-Modified:    Thu,    01    Jan    1970    00:00:00    GMT', 'Hello')])
