'HTTP/1.0 requests do not get 100-continue returned, even if \'Expect:
100-continue\' is included (RFC 2616 10.1.1).'

def test_HTTP10(self):

    transport = StringTransport()
    channel = http.HTTPChannel()
    channel.requestFactory = DummyHTTPHandlerProxy
    channel.makeConnection(transport)
    channel.dataReceived('GET    /    HTTP/1.0\r\n')
    channel.dataReceived('Host:    www.example.com\r\n')
    channel.dataReceived('Content-Length:    3\r\n')
    channel.dataReceived('Expect:    100-continue\r\n')
    channel.dataReceived('\r\n')
    self.assertEqual(transport.value(), '')
    channel.dataReceived('abc')
    self.assertResponseEquals(transport.value(), [('HTTP/1.0    200    OK', 'Command:    GET', 'Content-Length:    13', 'Version:    HTTP/1.0', 'Request:    /', "'''\n3\nabc'''\n")])
