KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21585/root/usr/lib64/python2.4/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21585/root/usr/lib64/python2.4/cgi.pyo
mò
‚=5Dc@sdZdZdkZdkZdkZdkZdkZdkZdklZdddddd	d
ddd
ddddddddgZ	dZ
ead„Z
d„Zd„Ze
adaeeiddd„Zddd„Zddd„Zd„Zd„Zdfd „ƒYZdfd!„ƒYZdeifd"„ƒYZdefd#„ƒYZdefd$„ƒYZd	efd%„ƒYZeid&„Zeeeed'„Zeid(„Z d)„Z!d*„Z"d+„Z#d,„Z$ed-„Z%d.d/„Z&e'd0joeƒndS(1sSupport module for CGI (Common Gateway Interface) scripts.

This module defines a number of utilities for use by CGI scripts
written in Python.
s2.6N(sStringIOtMiniFieldStoragetFieldStoragetFormContentDicttSvFormContentDicttInterpFormContentDicttFormContenttparsetparse_qst	parse_qsltparse_multiparttparse_headertprint_exceptiont
print_environt
print_formtprint_directorytprint_argumentstprint_environ_usagetescapetcGsato5to-yttdƒaWq<tj
oq<Xntp
tantat|ŒdS(s„Write a log message, if there is a log file.

    Even though this function is called initlog(), you should always
    use log(); log is a variable that is set either to initlog
    (initially), to dolog (once the log file has been opened), or to
    nolog (when logging is disabled).

    The first argument is a format string; the remaining arguments (if
    any) are arguments to the % operator, so e.g.
        log("%s: %s", "a", "b")
    will write "a: b" to the log file, followed by a newline.

    If the global logfp is not None, it should be a file object to
    which log data is written.

    If the global logfp is None, the global logfile may be a string
    giving a filename to open, in append mode.  This file should be
    world writable!!!  If the file can't be opened, logging is
    silently disabled (since there is no safe place where we could
    send an error message).

    taN(tlogfiletlogfptopentIOErrortnologtlogtdologtallargs(R((t/usr/lib64/python2.4/cgi.pytinitlog:s	
cGsti||dƒdS(s=Write a log message to the log file.  See initlog() for docs.s
N(Rtwritetfmttargs(RR ((RR]scGsdS(s9Dummy function, assigned to log when logging is disabled.N((R((RRasicCs¥|d
jo
ti}nd|jod|d<n|ddjot|dƒ\}}|djot||ƒSnX|djoDt	|dƒ}to|tjo
td‚n|i
|ƒ}nd	}d
|jo'|o|d}n||d
}n9tido*|o|d}n|tid}n||d
<nKd
|jo|d
}n0tidotid}nd	}||d
<t|||ƒS(sParse a query in the environment or from a file (default stdin)

        Arguments, all optional:

        fp              : file pointer; default: sys.stdin

        environ         : environment dictionary; default: os.environ

        keep_blank_values: flag indicating whether blank values in
            URL encoded forms should be treated as blank strings.
            A true value indicates that blanks should be retained as
            blank strings.  The default false value indicates that
            blank values are to be ignored and treated as if they were
            not included.

        strict_parsing: flag indicating what to do with parsing errors.
            If false (the default), errors are silently ignored.
            If true, errors raise a ValueError exception.
    tREQUEST_METHODtGETtPOSTtCONTENT_TYPEsmultipart/form-datas!application/x-www-form-urlencodedtCONTENT_LENGTHsMaximum content length exceededRtQUERY_STRINGt&iN(tfptNonetsyststdintenvironR
tctypetpdictR	tinttclengthtmaxlent
ValueErrortreadtqstargvRtkeep_blank_valueststrict_parsing(R(R,R6R7R.R4R-R0((RRos>








cCs\h}xOt|||ƒD];\}}||jo||i|ƒq|g||<qW|S(sªParse a query given as a string argument.

        Arguments:

        qs: URL-encoded query string to be parsed

        keep_blank_values: flag indicating whether blank values in
            URL encoded queries should be treated as blank strings.
            A true value indicates that blanks should be retained as
            blank strings.  The default false value indicates that
            blank values are to be ignored and treated as if they were
            not included.

        strict_parsing: flag indicating what to do with parsing errors.
            If false (the default), errors are silently ignored.
            If true, errors raise a ValueError exception.
    N(tdictRR4R6R7tnametvaluetappend(R4R6R7R9R:R8((RR¤s
cCs>g}|idƒD]#}|idƒD]
}||q'q~}g}xñ|D]é}	|	o|oqMn|	iddƒ}t
|ƒdjo:|otd|	f‚n|o|i
dƒqÉqMnt
|dƒp|oUti|did	d
ƒƒ}ti|did	d
ƒƒ}
|i
||
fƒqMqMW|S(sžParse a query given as a string argument.

    Arguments:

    qs: URL-encoded query string to be parsed

    keep_blank_values: flag indicating whether blank values in
        URL encoded queries should be treated as blank strings.  A
        true value indicates that blanks should be retained as blank
        strings.  The default false value indicates that blank values
        are to be ignored and treated as if they were  not included.

    strict_parsing: flag indicating what to do with parsing errors. If
        false (the default), errors are silently ignored. If true,
        errors raise a ValueError exception.

    Returns a list, as G-d intended.
    R't;t=iisbad query field: %rRit+t N(t_[1]R4tsplitts1ts2tpairstrt
name_valueR7tnvtlenR2R6R;turllibtunquotetreplaceR9R:(R4R6R7R@R9RCRBRDRERFR:RG((RR¾s&@cCsºd}d|jo|d}nt|ƒptd|f‚nd|}
d|d}	h}d}xM||	jo?d}d}
|ošti|ƒ}|idƒ}|o*yt|ƒ}WqØtj
oqØXn|djo4to|tjo
td‚n|i|ƒ}
q#d}
ng}xi|iƒ}|p|	}Pn|d
 djo(|iƒ}||
|	fjoPqƒn|i|ƒq,W|
djoqin|djop|oe|d}|ddjo|d }n |dd
jo|d }n||d<di|ƒ}
q&n|d}|pqint|ƒ\}}|djoqind|jo|d}nqi||jo||i|
ƒqi|
g||<qiW|S(sõParse multipart input.

    Arguments:
    fp   : input file
    pdict: dictionary containing other parameters of conten-type header

    Returns a dictionary just like parse_qs(): keys are the field names, each
    value is a list of values for that field.  This is easy to use but not
    much good if you are expecting megabytes to be uploaded -- in that case,
    use the FieldStorage class instead which is much more flexible.  Note
    that content-type is the raw, unparsed contents of the content-type
    header.

    XXX This does not parse nested multipart parts -- use FieldStorage for
    that.

    XXX This should really be subsumed by FieldStorage altogether -- no
    point in having two implementations of the same parsing algorithm.

    Rtboundarys&Invalid boundary in multipart form: %rs--iÿÿÿÿscontent-lengthisMaximum content length exceedediiiþÿÿÿs
s
scontent-dispositions	form-dataR9N(RLR.tvalid_boundaryR2tnextparttlastparttpartdictt
terminatortbytesR)tdatat	mimetoolstMessageR(theaderst	getheaderR0R/R1R3tlinestreadlinetlinetstripR;tjoinR
tkeytparamsR9(R(R.RXRPRQRVR^RLR0RORNR]RZRSR9RR((RR	çs~



	


	







cCs
td„|idƒƒ}|idƒiƒ}h}xÊ|D]Â}|i	dƒ}|djo || iƒiƒ}||diƒ}t|ƒdjoU|d|djo
djno/|dd!}|id	d
ƒiddƒ}n|||<q=q=W||fS(
sfParse a Content-type like header.

    Return the main content-type and a dictionary of options.

    cCs
|iƒS(N(txR[(R_((Rt<lambda>KsR<iR=iiiÿÿÿÿt"s\\s\s\"N(tmapRZRAtplisttpoptlowerR]R.tptfindtiR[R9R:RHRK(RZR.RhR:RfR]RcR9((RR
Es
9
"cBsPtZdZeZeZeZeZhZeZ	hZ
hZd„Zd„Z
RS(s=Like FieldStorage, for use when no file uploads are possible.cCs||_||_dS(s&Constructor from field name and value.N(R9tselfR:(RiR9R:((Rt__init__ks	cCsd|i|ifS(s Return printable representation.sMiniFieldStorage(%r, %r)N(RiR9R:(Ri((Rt__repr__qs(t__name__t
__module__t__doc__R)tfilenametlistttypetfilettype_optionstdispositiontdisposition_optionsRVRjRk(((RR]s	cBstZdZeedeiddd„Zd„Zd„Zd„Z	d„Z
ed„Zed	„Zd
„Z
d„Zd„Zd
„Zd„Zd„ZeZd„Zd„ZddZd„Zd„Zd„Zd„Zd„Zd„Zed„ZRS(sšStore a sequence of fields, reading multipart/form-data.

    This class provides naming, typing, files stored on disk, and
    more.  At the top level, it is accessible like a dictionary, whose
    keys are the field names.  (Note: None can occur as a field name.)
    The items are either a Python list (if there's multiple values) or
    another FieldStorage or MiniFieldStorage object.  If it's a single
    object, it has the following attributes:

    name: the field name, if specified; otherwise None

    filename: the filename, if specified; otherwise None; this is the
        client side filename, *not* the file name on which it is
        stored (that's a temporary file you don't deal with)

    value: the value as a *string*; for file uploads, this
        transparently reads the file every time you request the value

    file: the file(-like) object from which you can read the data;
        None if the data is stored a simple string

    type: the content-type, or None if not specified

    type_options: dictionary of options specified on the content-type
        line

    disposition: content-disposition, or None if not specified

    disposition_options: dictionary of corresponding options

    headers: a dictionary(-like) object (sometimes rfc822.Message or a
        subclass thereof) containing *all* headers

    The class is subclassable, mostly for the purpose of overriding
    the make_file() method, which is called internally to come up with
    a file open for reading and writing.  This makes it possible to
    override the default choice of storing all files in a temporary
    directory and unlinking them as soon as they have been opened.

    Ric
Cshd}||_||_d|jo|diƒ}n|djp
|djopd|jo|d}n&tidotid}nd}t	|ƒ}|djohdd<}qÃn|djoch}|d	jod|d<nd
|jo|d
|d<nd|jo|d|d<q3n|pti
|_
||_||_dh}}d
|ijot|id
ƒ\}}n||_||_d|_d|jo|d|_nd|_d|jo|d|_nd|ijot|idƒ\}	}n6|ip
|d	jodh}	}ndh}	}|	|_||_d|_d|jo|d|_nd}
d|ijoRyt|idƒ}
Wntj
onXto|
tjo
td‚qõn|
|_d|_|_ d|_!|	djo|i"ƒn3|	d djo|i#|||ƒn|i$ƒdS(sConstructor.  Read multipart/* until last part.

        Arguments, all optional:

        fp              : file pointer; default: sys.stdin
            (not used when the request method is GET)

        headers         : header dictionary-like object; default:
            taken from environ as per CGI spec

        outerboundary   : terminating multipart boundary
            (for internal use only)

        environ         : environment dictionary; default: os.environ

        keep_blank_values: flag indicating whether blank values in
            URL encoded forms should be treated as blank strings.
            A true value indicates that blanks should be retained as
            blank strings.  The default false value indicates that
            blank values are to be ignored and treated as if they were
            not included.

        strict_parsing: flag indicating what to do with parsing errors.
            If false (the default), errors are silently ignored.
            If true, errors raise a ValueError exception.

        R"R!tHEADR&iRscontent-types!application/x-www-form-urlencodedR#R$R%scontent-lengthscontent-dispositionR9Ros
text/plainRLiÿÿÿÿsMaximum content length exceededii
s
multipart/N(%tmethodR6RiR7R,tupperR4R*R5tStringIOR(RVR)R+t
outerboundarytcdispR.R
RtRuR9RoR-RqRst
innerboundarytclenR/R2R1tlengthRpRrtdonetread_urlencodedt
read_multitread_single(
RiR(RVRzR,R6R7R4R.R-R}RwR{((RRj¡s~		






		
			
	

			
		
cCsd|i|i|ifS(s"Return a printable representation.sFieldStorage(%r, %r, %r)N(RiR9RoR:(Ri((RRkscCst|iƒƒS(N(titerRitkeys(Ri((Rt__iter__scCs~|djo
t|‚n|io3|iidƒ|iiƒ}|iidƒn$|idj	o
|i}nd}|S(NR:i(	R9tAttributeErrorRiRrtseekR3R:RpR)(RiR9R:((Rt__getattr__s



cCs“|idjo
td‚ng}x2|iD]'}|i|jo|i|ƒq-q-W|p
t	|‚nt
|ƒdjo|dSn|SdS(sDictionary style indexing.s
not indexableiiN(RiRpR)t	TypeErrortfoundtitemR9R]R;tKeyErrorRH(RiR]R‹RŠ((Rt__getitem__'s


cCsW||joB||}t|ƒtgƒjotd„|ƒSqS|iSn|SdS(s8Dictionary style get() method, including 'value' lookup.cCs|iS(N(tvR:(RŽ((RR`:sN(R]RiR:RqRbtdefault(RiR]RR:((Rtgetvalue5s

cCsR||jo=||}t|ƒtgƒjo|diSqN|iSn|SdS(s! Return the first value received.iN(R]RiR:RqR(RiR]RR:((Rtgetfirst@s

cCsZ||joE||}t|ƒtgƒjotd„|ƒSqV|igSngSdS(s  Return list of received values.cCs|iS(N(RŽR:(RŽ((RR`PsN(R]RiR:RqRb(RiR]R:((RtgetlistKs

cCs_|idjo
td‚ng}x5|iD]*}|i|jo|i|iƒq-q-W|S(sDictionary style keys() method.s
not indexableN(RiRpR)R‰R„R‹R9R;(RiR„R‹((RR„Vs

cCsM|idjo
td‚nx)|iD]}|i|jotSq'q'WtS(s"Dictionary style has_key() method.s
not indexableN(	RiRpR)R‰R‹R9R]tTruetFalse(RiR]R‹((Rthas_key_s

cCsM|idjo
td‚nx)|iD]}|i|jotSq'q'WtS(s%Dictionary style __contains__ method.s
not indexableN(	RiRpR)R‰R‹R9R]R“R”(RiR]R‹((Rt__contains__gs

cCst|iƒƒS(s Dictionary style len(x) support.N(RHRiR„(Ri((Rt__len__oscCso|ii|iƒ}g|_}x<t||i|iƒD]"\}}|it||ƒƒq;W|i
ƒdS(s+Internal: read data in query string format.N(RiR(R3R~R4RpRR6R7R]R:R;Rt
skip_lines(RiR4RpR:R]((RR€ss

cCsÄ|i}t|ƒptd|f‚ng|_|ip|i}||i	h||||ƒ}xO|ipDti|i	ƒ}||i	|||||ƒ}|ii|ƒqgW|iƒdS(s/Internal: read a part that is itself multipart.s&Invalid boundary in multipart form: %rN(RiR|tibRMR2RptFieldStorageClasst	__class__tklassR(R,R6R7tpartRtrfc822RURVR;R˜(RiR,R6R7RVRRœR™((RR~s	
	
cCsF|idjo|iƒ|iƒn|iƒ|iidƒdS(sInternal: read an atomic part.iN(RiR~tread_binaryR˜t
read_linesRrR‡(Ri((RR‚s

iicCs˜|idƒ|_|i}|djolxi|djoW|iit||iƒƒ}|pd|_
Pn|ii|ƒ|t|ƒ}q+WndS(sInternal: read binary data.tbiiÿÿÿÿN(
Rit	make_fileRrR~ttodoR(R3tmintbufsizeRSRRRH(RiRSR£((RRŸšs	

	cCs9tƒ|_|_|io|iƒn|iƒdS(s0Internal: read lines until EOF or outerboundary.N(RyRiRrt_FieldStorage__fileRztread_lines_to_outerboundarytread_lines_to_eof(Ri((RR §s

cCs€|idj	o\|iiƒt|ƒdjo8|idƒ|_|ii|ii	ƒƒd|_qln|ii|ƒdS(NièR(
RiR¦R)ttellRHRZR¢RrRR(RiRZ((Rt__write¯s cCs=x6|iiƒ}|pd|_Pn|i|ƒqWdS(sInternal: read lines until EOF.iiÿÿÿÿN(RiR(RYRZRt_FieldStorage__write(RiRZ((RR¨·s	cCsd|i}|d}d}xÞ|iiƒ}|pd|_Pn|d djo=|i	ƒ}||joPn||jod|_Pq’n|}|ddjod}|d }n,|ddjod}|d }nd}|i||ƒq Wd	S(
s)Internal: read lines until outerboundary.s--Riiÿÿÿÿiiþÿÿÿs
s
N(
RiRztnexttlasttdelimR(RYRZRR[tstrippedlinetodelimR«(RiR­R®R¯RZR¬R°((RR§Às4

	

		cCs²|ip
|iodSnd|i}|d}xw|iiƒ}|pd|_Pn|d djo=|iƒ}||joPn||jod|_Pq©q7q7WdS(s5Internal: skip lines until outer boundary if defined.Ns--iiÿÿÿÿi(
RiRzRR¬R­R(RYRZR[R¯(RiR¯R­RZR¬((RR˜Üs$

	

	cCsdk}|idƒS(s±Overridable: return a readable & writable file.

        The file will be used as follows:
        - data is written to it
        - seek(0)
        - data is read from it

        The 'binary' argument is unused -- the file is always opened
        in binary mode.

        This version opens a temporary file for reading and writing,
        and immediately deletes (unlinks) it.  The trick (on Unix!) is
        that the file can still be used, but it can't be opened by
        another process, and it will automatically be deleted when it
        is closed or when the current process terminates.

        If you want a more permanent file, you derive a class which
        overrides this method.  If you want a visible temporary file
        that is nevertheless automatically deleted when the script
        terminates, try defining a __del__ method in a derived class
        which unlinks the temporary files you have created.

        Nsw+b(ttempfilet
TemporaryFile(RitbinaryR±((RR¢ïs	(RlRmRnR)tosR,RjRkR…RˆRRR‘R’R„R•R–R—R€RšRR‚R¥RŸR R«R¨R§R˜R¢(((RRvs2)q			
												
	
						cBstZdZeid„ZRS(sxForm content as dictionary with a list of values per field.

    form = FormContentDict()

    form[key] -> [value, value, ...]
    key in form -> Boolean
    form.keys() -> [key, key, ...]
    form.values() -> [[val, val, ...], [val, val, ...], ...]
    form.items() ->  [(key, [val, val, ...]), (key, [val, val, ...]), ...]
    form.dict == {key: [val, val, ...], ...}

    cCs*td|ƒ|_|_|d|_dS(NR,R&(RR,RiR8RStquery_string(RiR,((RRjs(RlRmRnR´R,Rj(((RRscBs2tZdZd„Zd„Zd„Zd„ZRS(s÷Form content as dictionary expecting a single value per field.

    If you only expect a single value for each field, then form[key]
    will return that single value.  It will raise an IndexError if
    that expectation is not true.  If you expect a field to have
    possible multiple values, than you can use form.getlist(key) to
    get all of the values.  values() and items() are a compromise:
    they return single strings where there is a single value, and
    lists of strings otherwise.

    cCs6t|i|ƒdjo
td‚n|i|dS(Nisexpecting a single valuei(RHRiR8R]t
IndexError(RiR]((RR-s
cCs|i|S(N(RiR8R](RiR]((RR’1scCsYg}xL|iiƒD];}t|ƒdjo|i|dƒq|i|ƒqW|S(Nii(tresultRiR8tvaluesR:RHR;(RiR·R:((RR¸3scCskg}x^|iiƒD]M\}}t|ƒdjo|i||dfƒq|i||fƒqW|S(Nii(R·RiR8titemsR]R:RHR;(RiR:R·R]((RR¹:s(RlRmRnRR’R¸R¹(((RR!s
			cBs)tZdZd„Zd„Zd„ZRS(s7This class is present for backwards compatibility only.cCsyti||ƒ}|ddjoLyt|ƒSWqotj
o+yt|ƒSWqktj
oqkXqoXn|iƒS(Nis
0123456789+-.(	RRRiR]RŽR/R2tfloatR[(RiR]RŽ((RREscCs`g}xS|iƒD]E}y|i||ƒWqtj
o|i|i|ƒqXqW|S(N(R·RiR„R]R;R¶R8(RiR·R]((RR¸Ms
cCslg}x_|iƒD]Q}y|i|||fƒWqtj
o!|i||i|fƒqXqW|S(N(R·RiR„R]R;R¶R8(RiR·R]((RR¹Us
#(RlRmRnRR¸R¹(((RRCs		cBsDtZdZd„Zd„Zd„Zd„Zd„Zd„ZRS(s7This class is present for backwards compatibility only.cCs'||ijo|i|SndSdS(N(R]RiR8R)(RiR]((RR¸ascCsM||ijo5t|i|ƒ|jo|i||SqIdSndSdS(N(R]RiR8RHtlocationR)(RiR]R»((Rt
indexed_valueds
cCs+||ijo|i|dSndSdS(Ni(R]RiR8R)(RiR]((RR:jscCst|i|ƒS(N(RHRiR8R](RiR]((RR~mscCs1||ijo|i|diƒSndSdS(Ni(R]RiR8R[R)(RiR]((RtstrippedoscCs|iS(N(RiR8(Ri((Rtparsrs(	RlRmRnR¸R¼R:R~R½R¾(((RR_s					cCsÉdGHHtit_yWtƒ}tƒtƒt|ƒt|ƒt
ƒd„}|d„}dGH|ƒWnt
ƒnXdGHday/tƒ}tƒtƒt|ƒt|ƒWnt
ƒnXdS(s—Robust test CGI script, usable as main program.

    Write minimal HTTP headers and dump all information provided to
    the script in HTML form.

    sContent-type: text/htmlcBsddUdS(Ns,testing print_exception() -- <I>italics?</I>((((RtfŠscCs|ƒdS(N(R¿(R¿((RtgŒss9<H3>What follows is a test, not an actual exception:</H3>s*<H1>Second try with a small maxlen...</H1>i2N(R*tstdouttstderrRtformRRR
RR,RR¿RÀRR1(R,RÃR¿RÀ((Rttestys8	

		
cCsŠ|djotiƒ\}}}ndk}HdGH|i||ƒ|i	||ƒ}dtdi|d ƒƒt|dƒfGH~dS(Ns+<H3>Traceback (most recent call last):</H3>s<PRE>%s<B>%s</B></PRE>Riÿÿÿÿ(
RqR)R*texc_infoR:ttbt	tracebackt	format_tbtlimittformat_exception_onlyRpRR\(RqR:RÆRÉRÇRp((RR s
	",cCs]|iƒ}|iƒHdGHdGHx/|D]'}dGt|ƒGdGt||ƒGHq(WdGHHdS(s#Dump the shell environment as HTML.s<H3>Shell Environment:</H3>s<DL>s<DT>s<DD>s</DL>N(R,R„tsortR]R(R,R„R]((RR®s
%cCsœ|iƒ}|iƒHdGH|p	dGHndGHx^|D]V}dt|ƒdG||}dttt|ƒƒƒdGHdtt|ƒƒGHq8Wd	GHHd
S(s$Dump the contents of a form as HTML.s<H3>Form Contents:</H3>s<P>No form fields.s<DL>s<DT>t:s<i>s</i>s<DD>s</DL>N(RÃR„RËR]RR:treprRq(RÃR„R:R]((RR
ºs 
	
cCsVHdGHytiƒ}Wn-tij
o}dGtt|ƒƒGHn
Xt|ƒGHHdS(s#Dump the current directory as HTML.s#<H3>Current Working Directory:</H3>s	os.error:N(R´tgetcwdtpwdterrortmsgRtstr(RÑRÏ((RRËscCsHdGHHtiGHHdS(Ns <H3>Command Line Arguments:</H3>(R*R5(((RR×s
cCs	dGHdS(s9Dump a list of environment variables used by CGI as HTML.sØ
<H3>These environment variables could have been set:</H3>
<UL>
<LI>AUTH_TYPE
<LI>CONTENT_LENGTH
<LI>CONTENT_TYPE
<LI>DATE_GMT
<LI>DATE_LOCAL
<LI>DOCUMENT_NAME
<LI>DOCUMENT_ROOT
<LI>DOCUMENT_URI
<LI>GATEWAY_INTERFACE
<LI>LAST_MODIFIED
<LI>PATH
<LI>PATH_INFO
<LI>PATH_TRANSLATED
<LI>QUERY_STRING
<LI>REMOTE_ADDR
<LI>REMOTE_HOST
<LI>REMOTE_IDENT
<LI>REMOTE_USER
<LI>REQUEST_METHOD
<LI>SCRIPT_NAME
<LI>SERVER_NAME
<LI>SERVER_PORT
<LI>SERVER_PROTOCOL
<LI>SERVER_ROOT
<LI>SERVER_SOFTWARE
</UL>
In addition, HTTP headers sent by the server may be passed in the
environment as well.  Here are some common variable names:
<UL>
<LI>HTTP_ACCEPT
<LI>HTTP_CONNECTION
<LI>HTTP_HOST
<LI>HTTP_PRAGMA
<LI>HTTP_REFERER
<LI>HTTP_USER_AGENT
</UL>
N((((RRÞscCsW|iddƒ}|iddƒ}|iddƒ}|o|iddƒ}n|S(
s=Replace special characters '&', '<' and '>' by SGML entities.R's&amp;t<s&lt;t>s&gt;Ras&quot;N(tsRKtquote(RÕRÖ((RR
ss^[ -~]{0,200}[!-~]$cCsdk}|i||ƒS(N(tretmatcht_vb_patternRÕ(RÕRÙR×((RRMs	t__main__((Rnt__version__R*R´RIRTRžtUserDictRyt__all__RR)RRRRRR1R,RRRR	R
RRRRRRRÄRRR
RRRRRMRl(!RTRRRRRRR
RÝRRIRR	RÄR
RžRÜRRRRR*RRÛRRRyRRRR´RMR((Rt?sN						
<
	#		5)	^	ÿš"'				/	


Anon7 - 2021