<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 13, 2014 at 11:52 AM, Robert Collins <span dir="ltr"><<a href="mailto:robertc@robertcollins.net" target="_blank">robertc@robertcollins.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 13 October 2014 17:12, Benoit Chesneau <<a href="mailto:bchesneau@gmail.com">bchesneau@gmail.com</a>> wrote:<br>
><br>
...<br>
<span class="">><br>
><br>
> OK,<br>
><br>
> So I should probably know you, but I can't recollect right now what you do<br>
> or write.<br>
<br>
</span>Its not clear to me who you were replying to.<br></blockquote><div><br></div><div>I answered at the bottom of the thread so to PJE. </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
> Anyway I find it really disturbing the way you're actually acting<br>
> and try to push your ideas based on private feedback coming from unknown or<br>
> choosing who should be a reference. That certainly not the right way to have<br>
> all actors on the table. Because if we go for a new WSGI spec, you certainly<br>
> want it. And I am speaking as one of these actors.<br>
<br>
</span>As I said when folk talked about going private in the first thread on<br>
this, I'm willing to discuss anything publically or privately - I<br>
can't tell folk where they will be comfortable discussing things. But<br>
I'm going to do *my* work on this in public, because I think that is<br>
essential to get broad consensus.<br>
<span class=""><br>
> In my opinion, if we want to go further we should first define what are the<br>
> problem we want to solve, and then get the feedback from all the actors<br>
> around:<br>
<br>
</span>I think I've been fairly clear about the problem *I* want to solve.<br>
<br>
"""<br>
We want to create a clean common API for applications and middleware<br>
written in a post HTTP/2 world - where single servers may accept up to<br>
all three of HTTP/1.x, HTTP/2 and Websocket connections, and<br>
applications and middleware want to be able to take advantage of<br>
HTTP/2 and websockets when available, but also degrade gracefully. We<br>
also want to ensure that there is a graceful incremental path to<br>
adoption of the new API, including Python 2.7 support, and shims to<br>
enable existing WSGI apps/middleware/servers to respectively be<br>
contained, contain-or-be-contained and contain, things written to this<br>
new API. We want a clean, fast and approachable API, and we want to<br>
ensure that its no less friendly to work with than WSGI, for all that<br>
it will expose much more functionality.<br>
"""<br></blockquote><div><br></div><div><br></div><div>By which problem we need to solve, I mean we need to identify clearly what are the problem not solved by the current spec. And see why, and how it is actually solved in the python world. we need to clearly identify these issues and make sure we have a comprehensive view of them.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
> - framweorks authors<br>
<br>
I reached out to a number of such authors directly. I encourage you to<br>
do the same.<br></blockquote><div><br></div><div><br></div><div>I could do that eventually if we are all agree on the process.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
> - libraries author<br>
<br>
Ditto and<br>
<br>
> - server authors<br>
<br>
Ditto :).<br>
<span class=""><br>
> If you don't have all actors around and majors are missing, there is<br>
> probably no point to continue. I do think the idea of having a repository to<br>
> collect it with people arbitrating the discussions on them on the mailing is<br>
> a good way to go further. Now I think we are still missing of a clear<br>
> definition of the problem. This is from what we should start instead of<br>
> starting by giving our philosophy on how the problem should be solved.<br>
<br>
</span>Here's my definition of some of the problems:<br>
A - there is no common spec equivalent to WSGI that permits writing<br>
server side code that takes advantage of HTTP/2. There's *a* http/2<br>
server out there which one can write code for, but that code is either<br>
specific to that servers plumbing, or plain WSGI and misses the HTTP/2<br>
goodness.<br>
B - WSGI has some oddness and overheads due in large part to the<br>
situation it was aiming to fix (which it broadly did) that perhaps we<br>
can now come together to fix.<br>
C - Support for chunked uploads, comet, bosh and websockets is<br>
effectively impossible within WSGI - one ends up writing server<br>
specific code, and being tied to a single server - even though<br>
multiple servers support (some of) those things. This defeats the<br>
point of WSGI IMNSHO: its not that WSGI is broken or anything, its<br>
just that we're once again writing all our generic middleware in<br>
server-specific fashions. Because the world has moved on and we<br>
haven't.<br></blockquote><div><br></div><div>Chunkedn upload is possible and already handled with Gunicorn. But there is no standard for that.  </div><div><br></div><div>For C I would separate it from the rest. This a different discussion and imo not everything can be achieved at the same time. Maybe we should start first by fixing them, then go for the next step anyway. So the transition could be incremental in servers and frameworks and actually fix the current spec.</div><div><br></div><div><br></div><div>For A (And C), i think we should keep the new specification enough agnostic. Especially since HTTP 2 is not yet completely out.</div><div><br></div><div><br></div><div>- benoit</div><div><br></div><div>I </div><div><br></div></div></div></div>