summaryrefslogtreecommitdiffstats
path: root/contrib/python/stack-data/stack_data/core.py
diff options
context:
space:
mode:
authortarasovalexey <[email protected]>2025-08-27 16:05:24 +0300
committertarasovalexey <[email protected]>2025-08-27 16:35:55 +0300
commit8fbe0f7c1a6a1313792119a365884dc0ec2023b8 (patch)
treeb474bda558f29016369ab80f1f13cfe23572a016 /contrib/python/stack-data/stack_data/core.py
parentef131334f3222e3a8a912f9359dd8eb06aa3fdef (diff)
Fix requests with empty path in yt/http
По <https://datatracker.ietf.org/doc/html/rfc2616#section-5.1.2>, путь в HTTP-запросе не может быть пустым; в случае отсутствия пути необходимо указывать "/": > Note that the absolute path cannot be empty; if none is present in the original URI, it MUST be given as "/" (the server root). Старый код при запросе на URL без пути (например, `http://localhost:1234`), посылал запрос вида ``` GET HTTP/1.1 <Headers> ``` Вместо ``` GET / HTTP/1.1 <Headers> ``` commit_hash:57a75f2bb07925c4323602d41d37a6911f03e4d5
Diffstat (limited to 'contrib/python/stack-data/stack_data/core.py')
0 files changed, 0 insertions, 0 deletions