relocateresponse
Takes a response (headers + content) and relocates it, changing domain names and paths.
The relocateresponse module is accessible via the wsgifilter module.
Functions
f relocate_response(headers, content, base_href, old_href, new_href) ...
Takes headers and content, and replaces all instances of old_href with new_href. Returns (new_headers, new_content)
Classes
C RelocateMiddleware(...) ...
This class contains 2 members.
See the source for more information.