Is it possible to send intermediate content to a browser with pylons?
the use-case is if I have a long process I would like to send some
content to the browser, run my long process and then send the rest of
the content in real-time. Currently an action waits for the must
return the Response, mean
Jamie Wilkinson wrote:
> Hey,
>
> Does anyone have an example of using FormEncode's
> FieldStorageUploadConverter or FileUploadKeepr ? There's no example in the
> docstrings and I'm just having a hard time applying them in the same way as
> any of the other validators.
I've used them from times
Ben Bangert wrote:
> It should also be noted that templates can be 'chained' so that the
> first creates a structure, and the second updates it. And you'd use it
> like:
> paster create --template=pylons --template=yourown project
>
> I believe AuthKit does this as well.
You can also have a temp
jose wrote:
> I've got what I hope is a simple question,
>
> a WSGI response should be in iterable object, but Response doesn't
> behave that way. What I would like to be able to do, especially for
> long processes is send info the the browser incrementally, which you
> would be able to do with
ram wrote:
> I'm trying to write unit tests for a JSON-RPC controller, and I'm
> getting strange failures in Paste.
>
> Here's the test:
>
> class TestSasjsonController(TestController):
> def test_registeredCounters(self):
> response = self.app.post(url_for(controller='sasjson'),
>
OK, my bad. This problem was entirely my fault, so I figured I should
at the very least let everyone know. :-)
The issue was in our lighttpd config. This line was catching the 404's
(the remains of a RoR fcgi config):
server.error-handler-404 = "/"
What I still don't understand is why 404's s