#8765: mod_python handler requires explicit str() cast for
HttpResponse(mimetype=...)
----------------------------------------+-----------------------------------
Reporter: semenov | Owner: nobody
Status: reopened | Milestone:
Component: HTTP handling | Version: SVN
Resolution: | Keywords: mod_python
content-type mimetype
Stage: Ready for checkin | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
----------------------------------------+-----------------------------------
Changes (by SmileyChris):
* stage: Accepted => Ready for checkin
Comment:
Patch against new trunk. Functionally equivalent to arien's but I
reordered the code in `HttpResponse.__init__` to a more logical order (oh,
and I change tests to test for failures against both `content_type` and
`mimetype`).
--
Ticket URL: <http://code.djangoproject.com/ticket/8765#comment:8>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---