#16581: Documentation of HttpRequest.META could note possibly surprising type values -------------------------------------+------------------------------------- Reporter: RoySmith | Owner: nobody Type: | Status: new Cleanup/optimization | Component: Documentation Milestone: | Severity: Normal Version: 1.3 | Keywords: Resolution: | Has patch: 0 Triage Stage: Accepted | Needs tests: 0 Needs documentation: 0 | Easy pickings: 0 Patch needs improvement: 0 | UI/UX: 0 | -------------------------------------+------------------------------------- Changes (by kmtracey):
* needs_better_patch: => 0 * component: HTTP handling => Documentation * needs_tests: => 0 * needs_docs: => 0 * type: Bug => Cleanup/optimization * stage: Unreviewed => Accepted Comment: SERVER_PORT is coming from the underlying (or copied in, for older Django) Python wsgiref implementation (see http://hg.python.org/cpython/file/532cad687332/Lib/wsgiref/simple_server.py#l56). Note CONTENT_LENGTH is also a string value. I don't believe Django should change either of these, but if someone wants to provide a doc patch that notes that these values in `Request.META` are strings I suppose that might avoid some confusion for some people. -- Ticket URL: <https://code.djangoproject.com/ticket/16581#comment:1> Django <https://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 django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.