Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 768

Show
Ignore:
Timestamp:
10/31/05 12:46:05
Author:
fumanchu
Message:

Fix for #374 (reduce license boilerplate to a single LICENSE.txt file).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/__init__.py

    r762 r768  
    1 """ 
    2 Copyright (c) 2004, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12       and/or other materials provided with the distribution. 
    13     * Neither the name of the CherryPy Team nor the names of its contributors  
    14       may be used to endorse or promote products derived from this software  
    15       without specific prior written permission. 
    16  
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND  
    18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  
    19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  
    20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  
    21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  
    22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR  
    23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  
    24 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,  
    25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE  
    26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    27 """ 
    28  
    29 """ 
    30 Global module that all modules developing with CherryPy should import. 
    31 """ 
     1"""Global module that all modules developing with CherryPy should import.""" 
    322 
    333__version__ = '2.1.0' 
  • trunk/cherrypy/_cperror.py

    r766 r768  
    1 """ 
    2 Copyright (c) 2004, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12       and/or other materials provided with the distribution. 
    13     * Neither the name of the CherryPy Team nor the names of its contributors  
    14       may be used to endorse or promote products derived from this software  
    15       without specific prior written permission. 
    16  
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND  
    18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  
    19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  
    20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  
    21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  
    22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR  
    23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  
    24 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,  
    25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE  
    26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    27 """ 
     1"""Error classes for CherryPy.""" 
    282 
    293import urllib 
  • trunk/cherrypy/_cphttpserver.py

    r762 r768  
    1 """ 
    2 Copyright (c) 2004, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12       and/or other materials provided with the distribution. 
    13     * Neither the name of the CherryPy Team nor the names of its contributors  
    14       may be used to endorse or promote products derived from this software  
    15       without specific prior written permission. 
    16  
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND  
    18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  
    19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  
    20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  
    21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  
    22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR  
    23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  
    24 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,  
    25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE  
    26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    27 """ 
     1"""A native HTTP server for CherryPy.""" 
    282 
    293import threading, os, socket 
  • trunk/cherrypy/_cphttptools.py

    r762 r768  
    1 """ 
    2 Copyright (c) 2004, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12       and/or other materials provided with the distribution. 
    13     * Neither the name of the CherryPy Team nor the names of its contributors  
    14       may be used to endorse or promote products derived from this software  
    15       without specific prior written permission. 
    16  
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND  
    18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  
    19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  
    20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  
    21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  
    22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR  
    23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  
    24 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,  
    25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE  
    26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    27 """ 
    28  
    29 """ 
    30 Common Service Code for CherryPy 
    31 """ 
     1"""Common Service Code for CherryPy""" 
    322 
    333import cgi 
  • trunk/cherrypy/_cpserver.py

    r762 r768  
    1 """ 
    2 Copyright (c) 2004, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12       and/or other materials provided with the distribution. 
    13     * Neither the name of the CherryPy Team nor the names of its contributors  
    14       may be used to endorse or promote products derived from this software  
    15       without specific prior written permission. 
    16  
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND  
    18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  
    19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  
    20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  
    21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  
    22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR  
    23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  
    24 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,  
    25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE  
    26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    27 """ 
    28  
    29 """ 
    30 Main CherryPy module: 
    31     - Creates a server 
    32 """ 
     1"""Create and manage the CherryPy server.""" 
    332 
    343import cgi 
  • trunk/cherrypy/_cputil.py

    r762 r768  
    1 """ 
    2 Copyright (c) 2004, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12       and/or other materials provided with the distribution. 
    13     * Neither the name of the CherryPy Team nor the names of its contributors  
    14       may be used to endorse or promote products derived from this software  
    15       without specific prior written permission. 
    16  
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND  
    18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  
    19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  
    20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  
    21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  
    22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR  
    23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  
    24 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,  
    25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE  
    26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    27 """ 
    28  
    29 """ 
    30 A module containing a few utility classes/functions used by CherryPy 
    31 """ 
     1"""A few utility classes/functions used by CherryPy.""" 
    322 
    333import sys 
  • trunk/cherrypy/_cpwsgi.py

    r762 r768  
    1 """ 
    2 Copyright (c) 2005, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12       and/or other materials provided with the distribution. 
    13     * Neither the name of the CherryPy Team nor the names of its contributors  
    14       may be used to endorse or promote products derived from this software  
    15       without specific prior written permission. 
    16  
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND  
    18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  
    19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  
    20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  
    21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  
    22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR  
    23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  
    24 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,  
    25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE  
    26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    27 """ 
    28  
    29 """ 
    30 A WSGI application interface (see PEP 333). 
    31 """ 
     1"""A WSGI application interface (see PEP 333).""" 
    322 
    333import sys 
  • trunk/cherrypy/_cpwsgiserver.py

    r762 r768  
    1 """ 
    2 Copyright (c) 2005, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12       and/or other materials provided with the distribution. 
    13     * Neither the name of the CherryPy Team nor the names of its contributors  
    14       may be used to endorse or promote products derived from this software  
    15       without specific prior written permission. 
    16  
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND  
    18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  
    19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  
    20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  
    21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  
    22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR  
    23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  
    24 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,  
    25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE  
    26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    27 """ 
    28  
    29 """ 
    30 A high-speed, production ready, thread pooled, generic WSGI server. 
    31 """ 
     1"""A high-speed, production ready, thread pooled, generic WSGI server.""" 
    322 
    333import socket 
  • trunk/cherrypy/config.py

    r762 r768  
    1 """ 
    2 Copyright (c) 2004, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12       and/or other materials provided with the distribution. 
    13     * Neither the name of the CherryPy Team nor the names of its contributors  
    14       may be used to endorse or promote products derived from this software  
    15       without specific prior written permission. 
    16  
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND  
    18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  
    19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  
    20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  
    21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  
    22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR  
    23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  
    24 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,  
    25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE  
    26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    27 """ 
    28  
    29 """ 
    30 Configuration system for CherryPy. 
    31 """ 
     1"""Configuration system for CherryPy.""" 
    322 
    333import ConfigParser 
  • trunk/cherrypy/lib/covercp.py

    r762 r768  
    1 """ 
    2 Copyright (c) 2005, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12       and/or other materials provided with the distribution. 
    13     * Neither the name of the CherryPy Team nor the names of its contributors  
    14       may be used to endorse or promote products derived from this software  
    15       without specific prior written permission. 
    16  
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND  
    18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  
    19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  
    20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  
    21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  
    22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR  
    23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  
    24 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,  
    25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE  
    26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    27 """ 
    28  
    291"""Code-coverage tools for CherryPy. 
    302 
  • trunk/cherrypy/lib/cptools.py

    r762 r768  
    1 """ 
    2 Copyright (c) 2004, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12       and/or other materials provided with the distribution. 
    13     * Neither the name of the CherryPy Team nor the names of its contributors  
    14       may be used to endorse or promote products derived from this software  
    15       without specific prior written permission. 
    16  
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND  
    18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  
    19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  
    20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  
    21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  
    22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR  
    23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  
    24 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,  
    25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE  
    26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    27 """ 
    28  
    29 """ 
    30 Tools which both the CherryPy framework and application developers invoke. 
    31 """ 
     1"""Tools which both CherryPy and application developers may invoke.""" 
    322 
    333from BaseHTTPServer import BaseHTTPRequestHandler 
  • trunk/cherrypy/lib/defaultformmask.py

    r762 r768  
    1 """ 
    2 Copyright (c) 2004, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12       and/or other materials provided with the distribution. 
    13     * Neither the name of the CherryPy Team nor the names of its contributors  
    14       may be used to endorse or promote products derived from this software  
    15       without specific prior written permission. 
    16  
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND  
    18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  
    19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  
    20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  
    21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  
    22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR  
    23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  
    24 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,  
    25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE  
    26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    27 """ 
    28  
    29 """ 
    30 Default mask for the form.py module 
    31 """ 
     1"""Default mask for the form.py module""" 
    322 
    333from xml.sax.saxutils import quoteattr as q 
  • trunk/cherrypy/lib/filter/basefilter.py

    r762 r768  
    1 """ 
    2 Copyright (c) 2004, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12       and/or other materials provided with the distribution. 
    13     * Neither the name of the CherryPy Team nor the names of its contributors  
    14       may be used to endorse or promote products derived from this software  
    15       without specific prior written permission. 
    16  
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND  
    18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  
    19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  
    20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  
    21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  
    22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR  
    23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  
    24 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,  
    25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE  
    26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    27 """ 
     1"""Base class for CherryPy filters.""" 
    282 
    293class BaseFilter(object): 
  • trunk/cherrypy/lib/filter/baseurlfilter.py

    r762 r768  
    1 """ 
    2 Copyright (c) 2004, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12       and/or other materials provided with the distribution. 
    13     * Neither the name of the CherryPy Team nor the names of its contributors  
    14       may be used to endorse or promote products derived from this software  
    15       without specific prior written permission. 
    16  
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND  
    18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  
    19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  
    20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  
    21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  
    22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR  
    23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  
    24 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,  
    25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE  
    26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    27 """ 
    281 
    292from basefilter import BaseFilter 
  • trunk/cherrypy/lib/filter/cachefilter.py

    r762 r768  
    1 """ 
    2 Copyright (c) 2004, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12       and/or other materials provided with the distribution. 
    13     * Neither the name of the CherryPy Team nor the names of its contributors  
    14       may be used to endorse or promote products derived from this software  
    15       without specific prior written permission. 
    16  
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND  
    18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  
    19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  
    20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  
    21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  
    22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR  
    23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  
    24 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,  
    25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE  
    26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    27 """ 
    281 
    292import threading 
  • trunk/cherrypy/lib/filter/decodingfilter.py

    r762 r768  
    1 """ 
    2 Copyright (c) 2004, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12       and/or other materials provided with the distribution. 
    13     * Neither the name of the CherryPy Team nor the names of its contributors  
    14       may be used to endorse or promote products derived from this software  
    15       without specific prior written permission. 
    16  
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND  
    18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  
    19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  
    20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  
    21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  
    22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR  
    23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  
    24 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,  
    25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE  
    26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    27 """ 
    281 
    292from basefilter import BaseFilter 
  • trunk/cherrypy/lib/filter/encodingfilter.py

    r762 r768  
    1 """ 
    2 Copyright (c) 2004, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12       and/or other materials provided with the distribution. 
    13     * Neither the name of the CherryPy Team nor the names of its contributors  
    14       may be used to endorse or promote products derived from this software  
    15       without specific prior written permission. 
    16  
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND  
    18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  
    19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  
    20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  
    21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  
    22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR  
    23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  
    24 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,  
    25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE  
    26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    27 """ 
    281 
    292from basefilter import BaseFilter 
  • trunk/cherrypy/lib/filter/gzipfilter.py

    r762 r768  
    1 """ 
    2 Copyright (c) 2004, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12       and/or other materials provided with the distribution. 
    13     * Neither the name of the CherryPy Team nor the names of its contributors  
    14       may be used to endorse or promote products derived from this software  
    15       without specific prior written permission. 
    16  
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND  
    18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  
    19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  
    20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  
    21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  
    22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR  
    23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  
    24 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,  
    25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE  
    26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    27 """ 
    281 
    292import zlib 
  • trunk/cherrypy/lib/filter/logdebuginfofilter.py

    r762 r768  
    1 """ 
    2 Copyright (c) 2004, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12       and/or other materials provided with the distribution. 
    13     * Neither the name of the CherryPy Team nor the names of its contributors  
    14       may be used to endorse or promote products derived from this software  
    15       without specific prior written permission. 
    16  
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND  
    18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  
    19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  
    20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  
    21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  
    22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR  
    23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  
    24 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,  
    25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE  
    26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    27 """ 
    281 
    292import time 
  • trunk/cherrypy/lib/filter/nsgmlsfilter.py

    r762 r768  
    1 """ 
    2 Copyright (c) 2004, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12       and/or other materials provided with the distribution. 
    13     * Neither the name of the CherryPy Team nor the names of its contributors  
    14       may be used to endorse or promote products derived from this software  
    15       without specific prior written permission. 
    16  
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND  
    18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  
    19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  
    20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  
    21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  
    22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR  
    23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  
    24 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,  
    25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE  
    26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    27 """ 
    281 
    292import os, cgi 
  • trunk/cherrypy/lib/filter/sessionauthenticatefilter.py

    r763 r768  
    1 """ 
    2 Copyright (c) 2004, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12       and/or other materials provided with the distribution. 
    13     * Neither the name of the CherryPy Team nor the names of its contributors  
    14       may be used to endorse or promote products derived from this software  
    15       without specific prior written permission. 
    16  
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND  
    18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  
    19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  
    20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  
    21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  
    22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR  
    23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  
    24 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,  
    25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE  
    26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    27 """ 
    281 
    292from basefilter import BaseFilter 
  • trunk/cherrypy/lib/filter/sessionfilter.py

    r765 r768  
    1 """ 
    2 Copyright (c) 2004, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12       and/or other materials provided with the distribution. 
    13     * Neither the name of the CherryPy Team nor the names of its contributors  
    14       may be used to endorse or promote products derived from this software  
    15       without specific prior written permission. 
    16  
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND  
    18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  
    19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  
    20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  
    21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  
    22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR  
    23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  
    24 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,  
    25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE  
    26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    27 """ 
    28  
    291""" Session implementation for CherryPy. 
    302We use cherrypy.request to store some convenient variables as 
  • trunk/cherrypy/lib/filter/staticfilter.py

    r762 r768  
    1 """ 
    2 Copyright (c) 2004, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12       and/or other materials provided with the distribution. 
    13     * Neither the name of the CherryPy Team nor the names of its contributors  
    14       may be used to endorse or promote products derived from this software  
    15       without specific prior written permission. 
    16  
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND  
    18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  
    19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  
    20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  
    21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  
    22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR  
    23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  
    24 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,  
    25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE  
    26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    27 """ 
    28  
    291import os 
    302import urllib 
  • trunk/cherrypy/lib/filter/tidyfilter.py

    r762 r768  
    1 """ 
    2 Copyright (c) 2004, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12       and/or other materials provided with the distribution. 
    13     * Neither the name of the CherryPy Team nor the names of its contributors  
    14       may be used to endorse or promote products derived from this software  
    15       without specific prior written permission. 
    16  
    17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND  
    18 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED  
    19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE  
    20 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE  
    21 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL  
    22 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR  
    23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER  
    24 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,  
    25 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE  
    26 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    27 """ 
    28  
    291import os, cgi, StringIO, traceback 
    302from basefilter import BaseFilter 
  • trunk/cherrypy/lib/filter/xmlrpcfilter.py

    r762 r768  
    1 """ 
    2 Copyright (c) 2004, CherryPy Team (team@cherrypy.org) 
    3 All rights reserved. 
    4  
    5 Redistribution and use in source and binary forms, with or without modification,  
    6 are permitted provided that the following conditions are met: 
    7  
    8     * Redistributions of source code must retain the above copyright notice,  
    9       this list of conditions and the following disclaimer. 
    10     * Redistributions in binary form must reproduce the above copyright notice,  
    11       this list of conditions and the following disclaimer in the documentation  
    12