﻿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
24145	Extend POST redirect error to be raised on PUT and PATCH	Samuel Colvin	Samuel Colvin	"As per https://github.com/tomchristie/django-rest-framework/issues/2405 discussion it would be extremely helpful if the exception raised when POST requests require a redirect 

	raise RuntimeError((""""
	""You called this URL via POST, but the URL doesn't end ""
	""in a slash and you have APPEND_SLASH set. Django can't ""
	""redirect to the slash URL while maintaining POST data. ""
	""Change your form to point to %s%s (note the trailing ""
	""slash), or set APPEND_SLASH=False in your Django ""
	""settings."") % (new_url[0], new_url[1]))

was extended to PUT and PATCH requests. PUT and PATCH requests have associated data which is generally lost with a redirect.

Code: https://github.com/django/django/blob/1.7.2/django/middleware/common.py#L75"	Bug	closed	Core (Other)	1.7	Normal	fixed		tom@…	Ready for checkin	1	0	0	0	1	0
