Skip to content

Instantly share code, notes, and snippets.

View ticatwolves's full-sized avatar
💭
I may be slow to respond.

Ticat Wolves ticatwolves

💭
I may be slow to respond.
View GitHub Profile
@georgevreilly
georgevreilly / sessionrecorder.py
Last active June 15, 2023 14:45
WSGI Middleware to record Request and Response data
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
WSGI middleware to record requests and responses.
"""
from __future__ import print_function, unicode_literals
import logging