Post #2991501
2026-04-10 21:51 UTC
@jplatte@social.tchncs.de I was about to collect all relevant code snippets and then asked myself: What does axum actually do under the hood and it turns out replicating that was the solution.
I now have a tower service that directly calls into Cookie::decode() (which is a method it has because if the Header trait in the headers crate) … which was not easy to discover.
It works now in case you are interested, the code is public: https://codeberg.org/slatian/lib-humus/src/branch/main/src/language_extraction_layer.rs
So thanks for making me look in the right place :drgn_happy:
Replies (0)
No replies.