Replies: 1 comment
-
Hi @thrau, thank you for bringing up the discussion, RSGI is definitely green at this stage, so given there are valid reasons and that eventual breaking changes are handled properly, I think there's definitely room for changes which evolve the protocol. At the moment there's no dedicated place to discuss about RSGI, eventually as the protocol gains some maturity and more widespread usage it might make sense to create some Now, to address your questions:
Let me know if you have any additional questions or feedbacks. |
Beta Was this translation helpful? Give feedback.
-
Hi! First, I love the idea of having an iteration over ASGI as a spec! I haven't found a forum to discuss the RSGI spec in particular, feel free to direct me there.
I would like to challenge the way headers are currently defined in the RSGI spec.
Mapping[str, str]
: HTTP Headers can have one or more values depending on the header field definitions, which is why many python web frameworks use aList[tuple[bytes, bytes]]
data structure underneath, which is much more flexible (and appropriate to model the HTTP spec). making header access more user friendly via something like a mapping is IMO the responsibility of the framework built on top of the spec.Just wanted to get an idea how far the spec is and how open it still is for discussions like these.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions