Repository navigation
Conversation
There was a problem hiding this comment.
This property returns nothing. As planned?
There was a problem hiding this comment.
Not finished yet but @fafhrd91 asked me to merge existing branch -- we'll publish it in new release.
|
If I understand this pull request, you're integrating almost all aiorest features in aiohttp. It's a very good idea, because the new Web frameworks that will appear, based on aiohttp, will share more code base and be more interoperable between them. Just, if you could continue to be Keep it Simple Stupid, like aiohttp, to be easily hackable by an AsyncIO dev, it will be very cool :-) What are your plans for aiorest ? Delete aiorest ? rewrite aiorest based on this new API available in aiohttp ? Abandon aiorest ? |
There was a problem hiding this comment.
Yocto detail: you use 'utf-8' notation in others places, but 'utf8' in this place.
There was a problem hiding this comment.
Copy from WebOb :) I'll change it
|
@GMLudo Yes, I'd like to transplant successful design decisions from aiorest to aiohttp. aiorest probably will be frozen -- we are already have all we need for making REST API. |
|
@asvetlov Ok, thanks for your answer. For example, we replaced an old apache/php application by a solution based on our fork of aiorest, we handle a lot more requests that before. Be assured, to avoid confusion between your aiorest and our aiorest, we will change the name of our fork. But finally, after each will do experimentations, we could try maybe to create a synergy together around this new API, even if we have different points of view, couldn't we ? |
|
@GMLudo
Sounds good. |
|
@asvetlov sounds also good for me. Don't hesitate to contact me when you have something to show, I will test. |
|
Hi @asvetlov, I'm permit to contact you in this PR, because we've announced during PyCON-FR the official release of API-Hour, the fork of aiorest: https://github.com/Eyepea/API-Hour#api-hour The slides of my presentation: https://github.com/Eyepea/API-Hour/tree/master/propaganda/en For now, we're stabilizing API-Hour. Regards. |
|
I think for now aiohttp.web is ready except documentation. |
|
lets wait with new release. i'd like to migrate one of our services to it first. |
|
ok. @fafhrd91 when you have a chance to try? I decided to postpone gzip processing (as well as CORS) to next release. |
|
ok on postpone features. i'll try to do that during this weekend. |
|
+1 for CORS, but should be optional, because it's not necessary with classical Web. About gzip compression, it isn't my time, you do what you want, but for me, it isn't necessary: during development, you want to use wireshark to analyse problems, gzip is a more a problem. On production, in my architecture, I use HAproxy behind my aiohttp/API-Hour daemons. Is somebody use aiohttp as server directly connected on Internet in a production environment? |
|
i use it in production |
|
Ok. Then gzip compression is useful in aiohttp.web. |
The basic interface for highlevel web server development.
aiohttp.web has experimental status right now.