'L{http.Request.parseCookies} leaves trailing whitespace in the
cookie value.'

def test_parseCookiesRetainRightSpace(self):

    req = http.Request(DummyChannel(), False)
    req.requestHeaders.setRawHeaders('cookie', ['foo=bar    '])
    req.parseCookies()
    self.assertEqual(req.received_cookies, {'foo': 'bar    '})
