scrapy/scrapy — pull request #145 by alexcepoi (2012-06-18 00:28:19+00:00)
Title: domain and path support for request cookies

Currently you cannot add cookies with a path or a domain to a request ([docs](http://doc.scrapy.org/en/latest/topics/request-response.html#scrapy.http.Request)), since these are passed in the form ``` {'c1': 'value1', 'c2': 'value2'}```

This allows sending cookies either in the form above or
``` [{'name': 'c1', 'value': 'value1', 'path': '/', 'domain': 'example.org'}, ...] ```

Name and value are mandatory, path and domain optional. Other possible attributes like 'Expires' or 'Max-age' could also be added. Docs also need to be updated.

Please review.