Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

But the WSGI Lite protocol is actually backwards compatible with WSGI.  You can write code to the WSGI Lite API, and transparently interoperate with existing WSGI servers, apps, and middleware.

Correct me if I'm wrong, but doesn't this mean that it's WSGI extra rather than WSGI lite? I mean, you don't generally consider the lite version of something to have the all the features of the full version and then some.



Another way to look at it is as an adapter to a "new" WSGI interface specification. The fact that it's backwards compatibile allows it to be used with existing WSGI tools, but future WSGI Lite-compatible software could implement the Lite API directly.

That being said, I've only briefly looked over the WSGI Lite code and neither advocate nor criticize its direction.


I think it just adds the boilerplate back in there for you :)


...so then it's a framework?


Are you serious?


That means that WSGI Lite app can run with WSGI server, not vice versa. At least that's how I understood it.


wsgi apps can be wrapped so that they can be called by wsgi-lite middleware. see the lighten() decorator.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: