ó
BÜXQc           @   se   d  Z  d d l Z d d l Z d d l Z d d l Z e j d ƒ j Z d e j f d „  ƒ  YZ d S(   s)  Integration with Python standard library module urllib2: Request class.

Copyright 2004-2006 John J Lee <jjl@pobox.com>

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).

iÿÿÿÿNt	   mechanizet   Requestc           B   s/   e  Z d i  d e d e j d  „ Z d „  Z RS(   c         C   sX   t  j | ƒ s  t d | ƒ n  t j j |  | | | ƒ d  |  _ | |  _ | |  _	 d  S(   Ns:   url argument is not a URI (contains illegal characters) %r(
   t   _rfc3986t   is_clean_urit   warnt   _urllib2_forkR   t   __init__t   Nonet   selectort   visitt   timeout(   t   selft   urlt   datat   headerst   origin_req_hostt   unverifiableR	   R
   (    (    s7   /scratch/rashmi/Condor_Script/src/mechanize/_request.pyR      s    
		c         C   s   d |  j  ƒ  S(   Ns   <Request for %s>(   t   get_full_url(   R   (    (    s7   /scratch/rashmi/Condor_Script/src/mechanize/_request.pyt   __str__'   s    N(   t   __name__t
   __module__R   t   Falset   _sockettimeoutt   _GLOBAL_DEFAULT_TIMEOUTR   R   (    (    (    s7   /scratch/rashmi/Condor_Script/src/mechanize/_request.pyR      s   	(	   t   __doc__t   loggingR   R   R   t	   getLoggert   warningR   R   (    (    (    s7   /scratch/rashmi/Condor_Script/src/mechanize/_request.pyt   <module>	   s   