Table of Contents

Module: HTTPRequest Zope-2.2.1-src/lib/python/ZPublisher/HTTPRequest.py

Imported modules   
from BaseRequest import BaseRequest
from Converters import get_converter
from HTTPResponse import HTTPResponse
from cgi import FieldStorage
from maybe_lock import allocate_lock
import os
import regex
from string import lower, atoi, rfind, split, strip, join, upper, find
import sys
from urllib import quote, unquote, splittype, splitport
Functions   
html_quote
parse_cookie
sane_environment
str_field
  html_quote 
html_quote ( value,  character_entities=((( '&' ), '&' ), (( "<" ), '<' ), (( ">" ), '>' ), (( '"' ), '"' ) ) )

This is duplicated from DocumentTemplate.DT_Util to prevent a dependency on the DocumentTemplate package. Some folks still use the ZPublisher package as a standalone publisher without DocumentTemplate.

  parse_cookie 
parse_cookie (
        text,
        result=None,
        qparmre=regex.compile( '\([\0- ]*' '\([^\0- ;,=\"]+\)="\([^"]*\)\"' '\([\0- ]*[;,]\)?[\0- ]*\)' ),
        parmre=regex.compile( '\([\0- ]*' '\([^\0- ;,=\"]+\)=\([^\0- ;,\"]*\)' '\([\0- ]*[;,]\)?[\0- ]*\)' ),
        acquire=parse_cookie_lock.acquire,
        release=parse_cookie_lock.release,
        )

  sane_environment 
sane_environment ( env )

  str_field 
str_field ( v )

Classes   
FileUpload

File upload objects

HTTPRequest

Model HTTP request data.

record

add class


Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6