'L{http.Request.setCookie} adds a new cookie to be sent with the
response. L{bytes} arguments are not decoded.'

def test_addCookieWithAllArgumentsBytes(self):

    expectedCookieValue = 'foo=bar;    Expires=Fri,    31    Dec    9999    23:59:59    GMT;    Domain=.example.com;    Path=/;    Max-Age=31536000;    Comment=test;    Secure;    HttpOnly'
    self._checkCookie(expectedCookieValue, 'foo', 'bar', expires='Fri,    31    Dec    9999    23:59:59    GMT', domain='.example.com', path='/', max_age='31536000', comment='test', secure=True, httpOnly=True)
