Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
pformat(req.access_route),
pformat(req.context),
pformat(req.headers),
pformat(req.env),
pformat(redis_result),
pformat(self.r.keys()))
)
else:
# response 1px gif
resp = resp_beacon_gif(resp)
if __name__ == "__main__":
app = falcon.API()
swallow = SwallowResource()
app.add_route('/swallow', swallow)