Modify handling of HTTP requests