jupyterhub / jupyter-server-proxy

Jupyter notebook server extension to proxy web services.
https://jupyter-server-proxy.readthedocs.io
BSD 3-Clause "New" or "Revised" License
354 stars 147 forks source link

Stop using regexes to parse HTTP Headers when supporting streaming #498

Open yuvipanda opened 2 months ago

yuvipanda commented 2 months ago

As part of https://github.com/jupyterhub/jupyter-server-proxy/pull/479, we ended up using regexes to parse HTTP Headers and the status line. This makes me somewhat weary, and I'd like that to be replaced with an actual library instead.