Skip to content

Commit 4aebc0f

Browse files
mahnerakyuvipanda
andauthored
Update jupyter_server_proxy/handlers.py
Co-authored-by: Yuvi Panda <[email protected]>
1 parent 022d702 commit 4aebc0f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jupyter_server_proxy/handlers.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,9 @@ async def proxy(self, host, port, proxied_path):
280280
"See https://jupyter-server-proxy.readthedocs.io/en/latest/arbitrary-ports-hosts.html for info.".format(host=host))
281281
return
282282

283+
# Remove hop-by-hop headers that don't necessarily apply to the request we are making
284+
# to the backend. See https://github.com/jupyterhub/jupyter-server-proxy/pull/328
285+
# for more information
283286
hop_by_hop_headers = [
284287
'Proxy-Connection',
285288
'Keep-Alive',

0 commit comments

Comments
 (0)