Back to index

plone3  3.1.7
request.py
Go to the documentation of this file.
00001 ##############################################################################
00002 #
00003 # Copyright (c) 2001 Zope Corporation and Contributors. All Rights
00004 # Reserved.
00005 #
00006 # This software is subject to the provisions of the Zope Public License,
00007 # Version 2.1 (ZPL).  A copy of the ZPL should accompany this
00008 # distribution.
00009 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
00010 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
00011 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
00012 # FOR A PARTICULAR PURPOSE.
00013 #
00014 ##############################################################################
00015 """ Interfaces for PluggableAuthService
00016 
00017 $Id: request.py 39343 2005-08-17 20:53:14Z sidnei $
00018 """
00019 # Eventually, those interfaces should be moved to Zope and imported
00020 # here as aliases for backward compatibility.
00021 
00022 try:
00023     from zope.interface import Interface
00024 except ImportError:
00025     from Interface import Interface
00026 
00027 class IRequest( Interface ):
00028 
00029     """ Base Request Interface
00030 
00031     XXX Add methods from BaseRequest?
00032     """
00033 
00034 class IHTTPRequest( IRequest ):
00035 
00036     """ HTTP Request
00037     """
00038 
00039 class IBrowserRequest( IHTTPRequest ):
00040 
00041     """Browser Request
00042     """
00043 
00044 class IWebDAVRequest( IHTTPRequest ):
00045 
00046     """ WebDAV Request
00047     """
00048 
00049 class IXMLRPCRequest( IHTTPRequest ):
00050 
00051     """ XML-RPC Request
00052     """
00053 
00054 class IFTPRequest( IRequest ):
00055 
00056     """ FTP Request
00057     """
00058