#3700: Middleware to degrade XHTML into HTML -----------------------------------------+---------------------------------- Reporter: Dave Hodder <[EMAIL PROTECTED]> | Owner: jacob Status: new | Component: Uncategorized Version: SVN | Keywords: Stage: Unreviewed | Has_patch: 0 -----------------------------------------+---------------------------------- I've created a module called XhtmlDegraderMiddleware, which I'd like to submit for possible inclusion. When Django sends contents as XHTML (with the "application/xhtml+xml" media type) it checks to ensure that the requesting browser can accept XHTML. If so, it does nothing; however if the browser has poor XHTML support it changes the contents to "text/html". It doesn't interfere with contents that is already using the "text/html" media type. (If accepted, it could be placed in django/contrib/xhtmldegrader.) Thanks, Dave
-- Ticket URL: <http://code.djangoproject.com/ticket/3700> Django Code <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 -~----------~----~----~----~------~----~------~--~---
