Révision 8843f79b
Ajouté par dlaniel il y a plus de 17 ans
- ID 8843f79b3ce1cff76078b01f416e90d67c501d86
larpe/trunk/filter/larpe-filter.py | ||
---|---|---|
3 | 3 |
|
4 | 4 |
def outputfilter(filter): |
5 | 5 |
# Only filter html code |
6 |
is_html = re.search('text/html', filter.req.content_type) |
|
7 |
if not is_html: |
|
6 |
if filter.req.content_type is not None: |
|
7 |
is_html = re.search('text/html', filter.req.content_type) |
|
8 |
if filter.req.content_type is not None and not is_html: |
|
8 | 9 |
filter.pass_on() |
9 | 10 |
else: |
10 | 11 |
if not hasattr(filter.req, 'temp_doc'): # the start |
Formats disponibles : Unified diff
integrated parts of wcs, in particular liberty alliance and added README for some manual configuration
git-svn-id: svn+ssh://labs.libre-entreprise.org/svnroot/larpe@6 3ed937ae-f919-0410-9a43-8e6f19e4ba6e