﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
15898	Add wsgi.input to RequestFactory's base environ	Ricky Rosario	nobody	"wsgi.input is required but it is not provided in the base environ of RequestFactory. This causes an exception when creating a generic request:

{{{
>>> from django.test.client import RequestFactory
>>> RequestFactory().request()
Traceback (most recent call last):
  File ""<console>"", line 1, in <module>
  File ""/Users/rlr/.virtualenvs/django/src/django/django/test/client.py"", line 208, in request
    return WSGIRequest(self._base_environ(**request))
  File ""/Users/rlr/.virtualenvs/django/src/django/django/core/handlers/wsgi.py"", line 138, in __init__
    if type(socket._fileobject) is type and isinstance(self.environ['wsgi.input'], socket._fileobject):
KeyError: 'wsgi.input'
}}}
"	Bug	closed	Testing framework	1.3	Normal	fixed			Design decision needed	1	0	0	0	0	0
