Update wsgi.py

Differentiation
Filtering implemented for (all?) bad URIs.