Summary: | Игнорировать reason-phrase по http | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Andrey Cherepanov <cas> |
Component: | apt | Assignee: | placeholder <placeholder> |
Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
Severity: | normal | ||
Priority: | P5 | CC: | boyarsh, glebfm, imz, ldv, placeholder |
Version: | unstable | ||
Hardware: | x86_64 | ||
OS: | Linux |
Description
Andrey Cherepanov
2024-03-14 12:34:51 MSK
Чуть выше в этом же стандарте написано вот так: The first line of a response message is the status-line, consisting of the protocol version, a space (SP), the status code, another space, a possibly empty textual phrase describing the status code, and ending with CRLF. Это значит пробел не опциональный, а опциональна только фраза после него. Получается, apt соблюдает стандарт, а сервер *не* соблюдает. Мне кажется, что вот такой способ и описание более правильные: https://salsa.debian.org/apt-team/apt/-/commit/de2b1358926d293c85277e1d9a58ac94915470ec |