When using runserver or other WSGI application servers:
{{{
(Pdb) type(request.META["CONTENT_LENGTH"])
<class 'str'>
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29553>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* has_patch: 0 => 1
* stage: Unreviewed => Accepted
Comment:
[https://github.com/django/django/pull/10159 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/29553#comment:1>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"5bea8d256dcf98f6346786f8a4804b84fee5da27" 5bea8d2]:
{{{
#!CommitTicketReference repository=""
revision="5bea8d256dcf98f6346786f8a4804b84fee5da27"
Fixed #29553 -- Made test client set Content-Length header to a string
rather than integer.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29553#comment:2>