(self, cookie, request)
| 1003 | return True |
| 1004 | |
| 1005 | def set_ok_path(self, cookie, request): |
| 1006 | if cookie.path_specified: |
| 1007 | req_path = request_path(request) |
| 1008 | if ((cookie.version > 0 or |
| 1009 | (cookie.version == 0 and self.strict_ns_set_path)) and |
| 1010 | not self.path_return_ok(cookie.path, request)): |
| 1011 | _debug(" path attribute %s is not a prefix of request " |
| 1012 | "path %s", cookie.path, req_path) |
| 1013 | return False |
| 1014 | return True |
| 1015 | |
| 1016 | def set_ok_domain(self, cookie, request): |
| 1017 | if self.is_blocked(cookie.domain): |