| 1000 | } |
| 1001 | |
| 1002 | const std::vector<HttpCookie*>* http_request::get_cookies() const |
| 1003 | { |
| 1004 | if (cookies_ && cookie_inited_) { |
| 1005 | return cookies_; |
| 1006 | } |
| 1007 | const_cast<http_request*>(this)->create_cookies(); |
| 1008 | if (! cookie_inited_) { |
| 1009 | return NULL; |
| 1010 | } |
| 1011 | return cookies_; |
| 1012 | } |
| 1013 | |
| 1014 | const HttpCookie* http_request::get_cookie(const char* name, |
| 1015 | bool case_insensitive /* = true */) const |
nothing calls this directly
no test coverage detected