Set Mechanize to accept cookies
问题 I am trying to use mechanize to retrieve some data from a website to automatize searching for a flat (no spamming) However, when I send a request to the site, the response has the following headers: header: Cache-Control: no-store, no-cache, max-age=0, must-revalidate, private, max- stale=0, post-check=0, pre-check=0 header: Content-Type: text/html header: P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI" header: Date: Mon, 16