Complete network lab transport and HTTP comparisons

This commit is contained in:
patayatuya-art committed 2026-12-01 01:16:02 +03:00
1 parent a33e028581
commit 79ca3743b9
8 files changed
+52 -11

No files matched your search

+4 -2
View File
@@ -1,10 +1,13 @@
import os
import sys
import requests
API_URL = "https://git.vyatsu.ru/api/v1"
REPO_NAME = "API_REPO"
REPO_NAME = "lab3"
if len(sys.argv) > 1:
REPO_NAME = sys.argv[1]
def load_token() -> str:
@@ -53,4 +56,3 @@ elif response.status_code == 409:
print(f"Repository {REPO_NAME} already exists")
else:
print(response.text)