>> HTTP moves bytes, therefore WSGI should move bytes. For practical reasons,
>> it would be good to *also* support strings on the application side,
>> especially for application migration. However, I see no reason to make
>> *servers* provide decoded strings instead of bytes.
+1 because anyway
On 17-07-2010, chris.d...@gmail.com wrote:
> On Fri, 16 Jul 2010, P.J. Eby wrote:
>
>> At 02:28 PM 7/16/2010 -0500, Ian Bicking wrote:
>> There should be one, and preferably *only* one, obvious way to do it.
>>
>> And given that HTTP is inherently a bunch of bytes, bytes is the one obvious
>> way.
On 31-01-2006, Peter Hunt wrote:
> Hi guys -
>
> I think a lot of web frameworks and applications are using a template
> engine. We should probably have an officially sanctioned templating engine
> plugin API, as it would ease adoption of existing Python web framework
> solutions.
What about pep29
On 12-02-2006, Jos Yule wrote:
> Alan Kennedy wrote:
>> So, I still think that only basic servers educational/playpen servers
>> should go in the standard library, with an indication that the user
>> should pick an openly server from outside the distro if they require to
>> do serious server wor
Hi,
In the same goal as wsgiserver, what do you think to add two middleware
to can really make quickly a meta-framework and "play" immediatly with
it without any external dependency.
I think about cookies and session.
bye
--
William Dodé - http://flibuste.net
On 21-10-2006, Ian Bicking wrote:
> I think there's room for some more standards building on WSGI (that
> aren't actually extensions of the WSGI spec itself).
>
> I put a page up on the wsgi.org site for this:
> http://wsgi.org/wsgi/Specifications
>
> And I'm introducing what I think is low-hangi
On 06-11-2006, Ian Bicking wrote:
> Luke Arno wrote:
>> So, it seemed to me like we had agreement on
>> this. Does anyone disagree?
>>
>> environ['routing_args'] == (list_or_tuple, a_dict)
>>
>> Should the spec get updated and marked as
>> accepted?
>
> I think so, with 'wsgiorg.routing_args'. I
On 14-11-2006, Phillip J. Eby wrote:
> At 06:36 PM 11/13/2006 -0700, L. C. Rees wrote:
...
>>Operations that produce entries such as these are frequently performed
>>by
>>middleware.
>
> This is not what middleware is for; please don't encourage people to do
> this. Library functions are the O
Hi,
Since the announce of ian about webob, i did two things with it.
First i include it in my personal web framework, it was very easy, i had
just to remove all my crappy equivalent functions. It make my framework
a little bit more clean and i can inherit new features.
Second, most important,
On 23-10-2007, Ian Bicking wrote:
> I redid the front page to make it more brief:
> http://pythonpaste.org/webob/
Fine.
I had to use it to understand what is the benefit of webob, the examples
was not very clear in the first read.
The yaro's page was more clear to me for example.
>
> I stop
On 26-11-2007, Chris Withers wrote:
> Hey All,
>
> I hope I have the right list, if not please point me in the right
> direction...
>
> Likewise, if there are good docs that cover all of this, please send me
> their way ;-)
>
> Right, I'm curious as to how wsgi applications end up being
> multi-
On 23-07-2008, Tibor Arpas wrote:
> Reverse DNS lookup is THE reason. Thank you very much Irmen. I put my
> remote computer into windows/system32/drivers/etc/hosts and the
> problem disapeared. The DNS name is indeed in the log which is written
> to the console. Thanks again.
>
> Is there a way to
Hi,
I've a problem with a web app wich freeze periodicaly. I monitored my
app and the hang doesn't seem to occur in it. So i think the problem is
before, or after, a problem of socket i imagine... It append with
wsgiref.simple_server and mod_wsgi. My app is not totaly thread safe so
i didn't t
.Request(environ)
res = webob.Response()
res.content_type = 'text/html'
try:
lock.acquire()
# my app...
res.write('ok')
finally:
lock.release()
return res(environ, start_response)
>
> On Fri, Jan 30, 2009 at 1:52 PM, William D
On 30-01-2009, Ian Bicking wrote:
> --===1780478717==
> Content-Type: multipart/alternative; boundary=00163646d5c46749ac0461ba70c5
>
> --00163646d5c46749ac0461ba70c5
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 7bit
>
> On Fri, Jan 30,
I think i finaly could catch the error...
With wsgiref simple_server (and apache mod_proxy), i run an app without
problem most of the time. I mean 10 hits/day. Some times, not every
day, the app freeze and i need to restart it manualy. If i don't the app
stay like that and never answer more
On 31-01-2009, William Dode wrote:
> I think i finaly could catch the error...
>
> With wsgiref simple_server (and apache mod_proxy), i run an app without
> problem most of the time. I mean 10 hits/day. Some times, not every
> day, the app freeze and i need to restart it manu
On 16-06-2009, Etienne Robillard wrote:
>
> Pfft, I bet this thread would have never happened without my initial
> intervention. Likewise, I think you're just using this thread for your
> own interests, disregarding my own arguments on why web frameworks are
> so hard to cope with.
>
> If you want
On 13-07-2009, Graham Dumpleton wrote:
> 2009/7/14 Ian Bicking :
>> I wrote up a spec a while
>> ago: http://wsgi.org/wsgi/Specifications/developer_auth
>> The goal is a single way to indicate to debugging and developer tools when
>> the developer is logged in. This is orthogonal to normal applica
19 matches
Mail list logo