Oh, I didn't see that file was in ``socorro/middleware/``. I would also expect it to be in ``socorro/external/`` as it is a common part of several ``external`` implementations. My second choice would probably be in ``socorro/lib/`` as is ``search_common.py`` for example.