Re: [Zope-dev] broken zope.publisher because of new content types in zope.contenttype

2010-01-04 Thread Roger
Hi Aaron > Betreff: Re: [Zope-dev] broken zope.publisher because of new > content types in zope.contenttype > > On Sat, Jan 2, 2010 at 5:17 AM, Roger wrote: > > Hi all > > > > Since aaron added new mimetypes e.g. application/javascript, the

Re: [Zope-dev] broken zope.publisher because of new content types in zope.contenttype

2010-01-04 Thread Aaron Lehmann
On Sat, Jan 2, 2010 at 5:17 AM, Roger wrote: > Hi all > > Since aaron added new mimetypes e.g. application/javascript, > the _implicitResult method in zope.publisher.http.py (line 794) > is broken because the method checks for text/* content types > if unicode is given: > >    def _implicitResult(

Re: [Zope-dev] broken zope.publisher because of new content types in zope.contenttype

2010-01-03 Thread Martijn Faassen
Hey, Roger wrote: > Since aaron added new mimetypes e.g. application/javascript, > the _implicitResult method in zope.publisher.http.py (line 794) > is broken because the method checks for text/* content types > if unicode is given: > > def _implicitResult(self, body): > encoding = g