﻿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
29800	Django hangs when Content-Length has incorrect value	Alexander Charykov		"When sending incorrect content-length header to application, django hangs on reading request.body.

Steps to reproduce:

curl -v -X POST  -H ""Accept: */*""  -H ""Content-Length: 22"" -d ""1"" http://127.0.0.1:8000

with following handler:
{{{#!python
from django.http import HttpResponse
from django.views.decorators.csrf import csrf_exempt

@csrf_exempt
def index(request):
    return HttpResponse(content=request.body)
}}}
"	Bug	new	HTTP handling	2.1	Normal			Herbert Fortes Sam Kuffer Natalia Bidart	Accepted	0	0	0	0	0	0
