Re: [Webware-discuss] self.response().flush() on 1.1b1 with WSGI

2010-05-14 Thread Christoph Zwerschke
Am 14.05.2010 20:26 schrieb Roger Haase:
> I use a call to self.response().flush() on a couple of long running
> transactions.  With the WSGI adapter on 1.1.b1 the transaction runs
> to completion, but nothing is transferred until the transaction
> completes.
>
> I haven't tested this with other adapters.  Anyone else notice this?

Just tested it with mod_webkit, mod_scgi and mod_wsgi and it worked 
nicely with all of them.

Are you sure you're using the adapter? It does not work with the 
built-in webserver. Also, some Firefox plugins tend to pile up response 
data. Did you test with different browsers?

There have been some changes to the WSGI adapter after 1.1b1, you can 
try with the current version (but it should also work with 1.1b1):
http://svn.webwareforpython.org/Webware/trunk/WebKit/Adapters/WSGIAdapter.py

-- Christoph

--

___
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss


[Webware-discuss] self.response().flush() on 1.1b1 with WSGI

2010-05-14 Thread Roger Haase
I use a call to self.response().flush() on a couple of long running 
transactions.  With the WSGI adapter on 1.1.b1 the transaction runs to 
completion, but nothing is transferred until the transaction completes.

I haven't tested this with other adapters.  Anyone else notice this?

Roger Haase


  

--

___
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss


Re: [Webware-discuss] Example howto use FormEncode with Webware-1.1b1

2010-05-14 Thread Christoph Zwerschke
Am 13.05.2010 18:14 schrieb Georg Balmer:
> Next I try generate the code for the "form_template" using "WebHelpers".
> HTMLgeneration is mentioned in the "future" list.
> Has this something to do with what I try to do with Webhelpers?

Yes, webhelpers.html seems to do these things. Maybe it's good enough.

-- Christoph

--

___
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss