﻿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
30997	Deprecate HttpRequest.is_ajax.	Adam Johnson	nobody	"As discussed on [https://groups.google.com/d/msg/django-developers/F8F5b1kEA34/FhqCmRw9BwAJ this django-developers thread] this should be deprecated.

It inspects the non-standard header X-Requested-Wiith that is set by jQuery and maybe other frameworks. However jQuery's popularity, especially for making requests, is decreasing thanks to changes such as the new `fetch()` JS API.

Also in the cases this property is used to determine the kind of content to send to a client, it'd be better to inspect the HTTP standard `Accept` header.

For these reasons Flask has deprecated its similar property `is_xhr`."	Cleanup/optimization	closed	HTTP handling	dev	Normal	fixed			Accepted	1	0	0	0	0	0
