Ticket #9369: patch_django_9369.20081015.diff
File patch_django_9369.20081015.diff, 802 bytes (added by , 16 years ago) |
---|
-
django/test/client.py
326 326 'CONTENT_LENGTH': len(post_data), 327 327 'CONTENT_TYPE': content_type, 328 328 'PATH_INFO': urllib.unquote(path), 329 'QUERY_STRING': urlencode(data, doseq=True), 329 330 'REQUEST_METHOD': 'PUT', 330 331 'wsgi.input': FakePayload(post_data), 331 332 } … … 341 342 'CONTENT_LENGTH': None, 342 343 'CONTENT_TYPE': None, 343 344 'PATH_INFO': urllib.unquote(path), 345 'QUERY_STRING': urlencode(data, doseq=True), 344 346 'REQUEST_METHOD': 'DELETE', 345 347 } 346 348 r.update(extra)