3 ms·
So, I implemented https://github.com/socketry/falcon https://github.com/socketry/falcon - a HTTP/1, HTTP/2 web server, including client. HTTP/2 in my opinion i
by ioquatix 8y ago
So, I implemented https://github.com/socketry/falcon https://github.com/socketry/falcon - a HTTP/1, HTTP/2 web server, including client.
HTTP/2 in my opinion is simply a better protocol. It's more robust, and it has a binary framing layer which implements connection semantics separately from request/response headers. What I mean by this, is `content-length` or `transfer-encoding` are no longer used to control how the protocol actually works (i.e. how many bytes of data are consumed). I think this is a great step forward because it removes ambiguity and simplifies the overall protocol, and it's clear how extra features can be added in the future without impacting existing clients/servers - something that HTTP/1 struggled with a bit.
I also think it impacts how we build web applications. I already wrote this as a blog post: https://www.codeotaku.com/journal/2018-10/http-2-for-ruby-web-development/index https://www.codeotaku.com/journal/2018-10/http-2-for-ruby-we...
- Mayzie 8y agoWhy did you choose the name of an already existing and popular Python web framework? https://falconframework.org/ https://falconframework.org/
- bausshf 8y agoNot same language, doesn't matter. Do you expect someone to go into every language and look for what framework names they have? There's also a PHP framework named "Phalcon" which is pretty damn close to "Falcon" -- should they be bashed too?