<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-2363643920942057324.post690190448619552172..comments</id><updated>2009-03-09T09:27:28.735+11:00</updated><category term='apache'/><category term='mod_python'/><category term='fastcgi'/><category term='web2py'/><category term='mod_wsgi'/><category term='django'/><category term='python'/><category term='nginx'/><category term='wsgi'/><category term='pycon'/><category term='new relic'/><title type='text'>Comments on Graham Dumpleton: Final chance for providing input into mod_wsgi 3.0...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.dscpl.com.au/feeds/690190448619552172/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2363643920942057324/690190448619552172/comments/default'/><link rel='alternate' type='text/html' href='http://blog.dscpl.com.au/2009/03/final-chance-for-providing-input-into.html'/><author><name>Graham Dumpleton</name><uri>http://www.blogger.com/profile/13609779138164842374</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2363643920942057324.post-2800395534714773308</id><published>2009-03-09T09:27:00.000+11:00</published><updated>2009-03-09T09:27:00.000+11:00</updated><title type='text'>Rather than try and fiddle with Django middleware,...</title><summary type='text'>Rather than try and fiddle with Django middleware, what you can do is use a WSGI middleware that wraps Django and which detects when it is a chunked request and reads input a block at a time and saves it to a file. It can then modify the WSGI environment passed to Django such that wsgi.input is replaced with reference to open file object onto the temporary file you just save to disk containing </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2363643920942057324/690190448619552172/comments/default/2800395534714773308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2363643920942057324/690190448619552172/comments/default/2800395534714773308'/><link rel='alternate' type='text/html' href='http://blog.dscpl.com.au/2009/03/final-chance-for-providing-input-into.html?showComment=1236551220000#c2800395534714773308' title=''/><author><name>Graham Dumpleton</name><uri>http://www.blogger.com/profile/13609779138164842374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06276936539328058414'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.dscpl.com.au/2009/03/final-chance-for-providing-input-into.html' ref='tag:blogger.com,1999:blog-2363643920942057324.post-690190448619552172' source='http://www.blogger.com/feeds/2363643920942057324/posts/default/690190448619552172' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-19731307'/></entry><entry><id>tag:blogger.com,1999:blog-2363643920942057324.post-304273814596921589</id><published>2009-03-09T09:02:00.000+11:00</published><updated>2009-03-09T09:02:00.000+11:00</updated><title type='text'>sorry for not having a look to the bug tracker</title><summary type='text'>sorry for not having a look to the bug tracker</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2363643920942057324/690190448619552172/comments/default/304273814596921589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2363643920942057324/690190448619552172/comments/default/304273814596921589'/><link rel='alternate' type='text/html' href='http://blog.dscpl.com.au/2009/03/final-chance-for-providing-input-into.html?showComment=1236549720000#c304273814596921589' title=''/><author><name>abki</name><uri>http://www.blogger.com/profile/01253560028163024812</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.dscpl.com.au/2009/03/final-chance-for-providing-input-into.html' ref='tag:blogger.com,1999:blog-2363643920942057324.post-690190448619552172' source='http://www.blogger.com/feeds/2363643920942057324/posts/default/690190448619552172' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1045468171'/></entry><entry><id>tag:blogger.com,1999:blog-2363643920942057324.post-3453392353021041065</id><published>2009-03-09T09:01:00.000+11:00</published><updated>2009-03-09T09:01:00.000+11:00</updated><title type='text'>The thing is that by now, no data at all arrived t...</title><summary type='text'>The thing is that by now, no data at all arrived through the pipe into django. One had to proxy requests to django with a php script (which is really funny in fact) (or add the the right apache modules...)&lt;BR/&gt;&lt;BR/&gt;I'm not into django middlewares, but one may change the request before it hit the django part which hates non-compliant-wsgi requests.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2363643920942057324/690190448619552172/comments/default/3453392353021041065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2363643920942057324/690190448619552172/comments/default/3453392353021041065'/><link rel='alternate' type='text/html' href='http://blog.dscpl.com.au/2009/03/final-chance-for-providing-input-into.html?showComment=1236549660000#c3453392353021041065' title=''/><author><name>abki</name><uri>http://www.blogger.com/profile/01253560028163024812</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.dscpl.com.au/2009/03/final-chance-for-providing-input-into.html' ref='tag:blogger.com,1999:blog-2363643920942057324.post-690190448619552172' source='http://www.blogger.com/feeds/2363643920942057324/posts/default/690190448619552172' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1045468171'/></entry><entry><id>tag:blogger.com,1999:blog-2363643920942057324.post-2304658112931533777</id><published>2009-03-09T08:41:00.000+11:00</published><updated>2009-03-09T08:41:00.000+11:00</updated><title type='text'>@abki: Do be aware though that frameworks like Dja...</title><summary type='text'>@abki: Do be aware though that frameworks like Django will not be able to make use of this, as they adhere to WSGI specification of only reading what CONTENT_LENGTH says is available. For chunked request content there is no content length and so they would believe that request content was empty.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2363643920942057324/690190448619552172/comments/default/2304658112931533777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2363643920942057324/690190448619552172/comments/default/2304658112931533777'/><link rel='alternate' type='text/html' href='http://blog.dscpl.com.au/2009/03/final-chance-for-providing-input-into.html?showComment=1236548460000#c2304658112931533777' title=''/><author><name>Graham Dumpleton</name><uri>http://www.blogger.com/profile/13609779138164842374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06276936539328058414'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.dscpl.com.au/2009/03/final-chance-for-providing-input-into.html' ref='tag:blogger.com,1999:blog-2363643920942057324.post-690190448619552172' source='http://www.blogger.com/feeds/2363643920942057324/posts/default/690190448619552172' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-19731307'/></entry><entry><id>tag:blogger.com,1999:blog-2363643920942057324.post-3133386884150907085</id><published>2009-03-09T08:39:00.000+11:00</published><updated>2009-03-09T08:39:00.000+11:00</updated><title type='text'>@abki: Already included, see http://code.google.co...</title><summary type='text'>@abki: Already included, see http://code.google.com/p/modwsgi/issues/detail?id=1&lt;BR/&gt;&lt;BR/&gt;Note that WSGI specification doesn't support chunked request content, so by using this ability you are stepping outside of WSGI and your application will not likely be portable to other WSGI hosting mechanisms.</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2363643920942057324/690190448619552172/comments/default/3133386884150907085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2363643920942057324/690190448619552172/comments/default/3133386884150907085'/><link rel='alternate' type='text/html' href='http://blog.dscpl.com.au/2009/03/final-chance-for-providing-input-into.html?showComment=1236548340000#c3133386884150907085' title=''/><author><name>Graham Dumpleton</name><uri>http://www.blogger.com/profile/13609779138164842374</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='06276936539328058414'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.dscpl.com.au/2009/03/final-chance-for-providing-input-into.html' ref='tag:blogger.com,1999:blog-2363643920942057324.post-690190448619552172' source='http://www.blogger.com/feeds/2363643920942057324/posts/default/690190448619552172' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-19731307'/></entry><entry><id>tag:blogger.com,1999:blog-2363643920942057324.post-3460235824477553494</id><published>2009-03-09T08:34:00.000+11:00</published><updated>2009-03-09T08:34:00.000+11:00</updated><title type='text'>HttpRequest with chunked encoding supported by mod...</title><summary type='text'>HttpRequest with chunked encoding supported by mod_wsgi if possible (I don't know if this task falls into this application or mod_python)... &lt;BR/&gt;&lt;BR/&gt;But this will help people a lot to use Python as a server side scripting langage for mobile devices.&lt;BR/&gt;&lt;BR/&gt;If you are not aware of the issue maybe this will help http://groups.google.com/group/django-users/browse_thread/thread/dda2008ccbc8cd65/</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2363643920942057324/690190448619552172/comments/default/3460235824477553494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2363643920942057324/690190448619552172/comments/default/3460235824477553494'/><link rel='alternate' type='text/html' href='http://blog.dscpl.com.au/2009/03/final-chance-for-providing-input-into.html?showComment=1236548040000#c3460235824477553494' title=''/><author><name>abki</name><uri>http://www.blogger.com/profile/01253560028163024812</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.dscpl.com.au/2009/03/final-chance-for-providing-input-into.html' ref='tag:blogger.com,1999:blog-2363643920942057324.post-690190448619552172' source='http://www.blogger.com/feeds/2363643920942057324/posts/default/690190448619552172' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1045468171'/></entry></feed>
