On 2009-07-01, Ian Bicking <ianbicking@???> wrote:
>
> That works for me... It's not a *good* app to return a string, but
> it's not invalid, as it's still a string-yielding iterable.
It's the header list that was invalid. Did it really work for you?
> If it's a problem with ELLIPSIS, you have to use # doctest: +ELLIPSIS
> for each example which requires it.
Thanks for that! I'd go and edit the doctests to use that, but I they
don't seem to get picked up by latest nose anymore.
> On Wed, Jul 1, 2009 at 11:01 AM, Jon Nelson<jnelson@???> wrote:
> > According to the docs, this should work:
> >
> > >>> import pprint
> > >>> from webob import Request
> > >>> def environ_app(environ, start_response):
> > ... start_response('200', ['Content-Type: text/plain'])
> > ... return pprint.pformat(environ)
> > ...
> > >>> req = Request.blank('/')
> > >>> r = req.get_response(environ_app)
> > >>> print r
> >
> > But it doesn't. :-(
> >
> > I've included a doctest for this as well as some very small docs tweaks.
> >
> >
> > I'm also curious when the next webob release might be, there appear to
> > be some fixes in svn that might be useful!
> >
> >
> > --
> > Jon
> >
> > >
> >
>
>
>
> --
>
> Ian Bicking | http://blog.ianbicking.org | http://topplabs.org/civichacker
>
>
> >
>
--
Best Regards,
Sergey Schetinin
http://s3bk.com/ -- S3 Backup
http://word-to-html.com/ -- Word to HTML Converter
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Paste Users" group.
To post to this group, send email to paste-users@???
To unsubscribe from this group, send email to paste-users+unsubscribe@???
For more options, visit this group at
http://groups.google.com/group/paste-users?hl=en
-~----------~----~----~----~------~----~------~--~---