Skip to content

HW1 - #76

Open
GlebOgl wants to merge 3 commits into
L1mple:mainfrom
GlebOgl:main
Open

HW1#76
GlebOgl wants to merge 3 commits into
L1mple:mainfrom
GlebOgl:main

Conversation

@GlebOgl

@GlebOgl GlebOgl commented Oct 1, 2026

Copy link
Copy Markdown

No description provided.

@DevDenus DevDenus left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Хорошая реализация, старайся не забывать про дедлайны)

Comment thread hw1/app.py
if message["type"] == "http.request":
body += message.get("body", b"")
if not message.get("more_body", False):
break

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

можно ещё disconnect обрабатывать

Comment thread hw1/app.py

params = {}
for pair in query.split("&"):
if "=" in pair:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

лучше использовать urllib.parse.parse_qs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants