What is generating the content that is going into this filter?
The mod_wsgi package doesn't provide an ability to write Apache output
filters. All you could do is write a WSGI middleware for a Python WSGI
application to perform fixups on any response content. Such a method
will only work for Python WSGI applications and it cannot be used
where the request content is coming from static files or other Apache
handlers which are generating dynamic content. Even if a Python WSGI
application is generating the request content, writing WSGI middleware
to perform such fixups is not a simple exercise if want the middleware
to be compliant with the WSGI specification in all ways.
Graham
On 18 October 2012 13:04, Noorul Islam Kamal Malmiyoda
> --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/modwsgi/-/YXRGRAnt-3MJ.
>
> To post to this group, send email to
mod...@googlegroups.com.
> To unsubscribe from this group, send email to
>
modwsgi+u...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/modwsgi?hl=en.