Created
September 15, 2011 16:20
-
-
Save alfredo/1219704 to your computer and use it in GitHub Desktop.
Nyan Nyan Nyan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class NyanCatMiddleware(object): | |
"""Nyan Nyan Nyan""" | |
def process_response(self, request, response): | |
response['X-Cat'] = "Nyan nyan nyan nyan" | |
return response |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment