```python res | should.have.cookie('name').equal.to('foo') res | should.have.cookie('name').that.should.expire.before('1 day') ```