| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/python2.6/site-packages/paste/debug/ |
Upload File : |
Ńň
ĘIc @ sŁ d Z d d k l Z y d d k Z Wn# e j
o d d k l Z n Xd d k l Z d d k Z d d k
Z
d g Z d e f d YZ
d d Z d S(
s
Middleware that tests the validity of all generated HTML using the
`WDG HTML Validator <http://www.htmlhelp.com/tools/validator/>`_
i˙˙˙˙( t StringION( t subprocess24( t wsgilibt WDGValidateMiddlewarec B sM e Z d Z e i d e i Z d d d Z d Z d Z
d Z RS( sb
Middleware that checks HTML and appends messages about the validity of
the HTML. Uses: http://www.htmlhelp.com/tools/validator/ -- interacts
with the command line client. Use the configuration ``wdg_path`` to
override the path (default: looks for ``validate`` in $PATH).
To install, in your web context's __init__.py::
def urlparser_wrap(environ, start_response, app):
return wdg_validate.WDGValidateMiddleware(app)(
environ, start_response)
Or in your configuration::
middleware.append('paste.wdg_validate.WDGValidateMiddleware')
s </body>t validatec C s | | _ | | _ d S( N( t appt wdg_path( t selfR t global_confR ( ( s<