Fix WSGIRequest bug