Théophile Choutri de Tarlé
Théophile Choutri de Tarlé
@dminuoso if you are interested :point_up:
Please re-open if there's interest.
@gdeest what's the state of this PR? Shall we wait for 0.21.0.0 or is it ok for 0.20.3.0?
Question: How to restrict an API to a particular virtual host (value of the request "Host:" header)?
Hmmm, it's an interesting problematic. I think my first reflex would be to do routing at the reverse proxy level (nginx, Apache, caddy, etc), and expose endpoints with specific audiences...
@gdeest perfect, I'd be more than happy to pair with you on it in order to fully understand the approach. :)
Question: How to restrict an API to a particular virtual host (value of the request "Host:" header)?
Fixed by https://github.com/haskell-servant/servant/pull/1800. @vdukhovni Please try it out. :)
@ciukstar Hi! At the moment, `servant-docs` is lacking ownership. If you wish to have a go at the implementation you would be most welcome. :)
@ysangkok I have bumped your role, you should be able now. :)
@ysangkok done!
@joeyh Thank you very much for this. Do you happen to have a reproducible benchmark suite for this?