Added before request to stop server redirects
Created by: HighSaltLevels
I keep seeing attempts to redirect my server to external sites in the logs. Since I'm not even running this as a WSGI server yet, I'll just check the request path against a whitelist of expected endpoints.