mς mγΈEc@sBdZdkZdkZdklZdeifd„ƒYZdS(s)Integration with Python standard library module urllib2: Request class. Copyright 2004-2006 John J Lee This code is free software; you can redistribute it and/or modify it under the terms of the BSD or ZPL 2.1 licenses (see the file COPYING.txt included with the distribution). N(s request_hosttRequestcBshtZdhded„Zd„Zd„Zd„Zd„Zdd„Z d„Z d„Z d „Z RS( NcCsUtii||||ƒh|_||_|djot |ƒ}n||_ dS(N( turllib2Rt__init__tselfturltdatatheaderstunredirected_hdrst unverifiabletorigin_req_hosttNonet request_host(RRRRR R((t1/data/zmath/zope/lib/python/mechanize/_request.pyRs    cCs|iS(N(RR (R((R tget_origin_req_host"scCs|iS(N(RR(R((R tis_unverifiable%scCs||iti|ƒ(Rt get_full_url(R((R t__str__=scCs|iƒodSndSdS(NtPOSTtGET(Rthas_data(R((R t get_method@s ( t__name__t __module__R RRR RRRRR R"R&(((R Rs       (t__doc__RRt _clientcookieR R(R RRR((R t? s