aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/networking/common.py
diff options
context:
space:
mode:
authordoe1080 <98906116+doe1080@users.noreply.github.com>2025-04-18 08:46:19 +0900
committerGitHub <noreply@github.com>2025-04-18 11:46:19 +1200
commitceab4d5ed63a1f135a1816fe967c9d9a1ec7e6e8 (patch)
treeeef0836e1c456f813cd7b9478e5f3f585a45eb29 /yt_dlp/networking/common.py
parented6c6d7eefbc78fa72e4e60ad6edaa3ee2acc715 (diff)
[networking] Add PATCH request shortcut (#12884)
Authored by: doe1080
Diffstat (limited to 'yt_dlp/networking/common.py')
-rw-r--r--yt_dlp/networking/common.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yt_dlp/networking/common.py b/yt_dlp/networking/common.py
index ddceaa9a9..e33769422 100644
--- a/yt_dlp/networking/common.py
+++ b/yt_dlp/networking/common.py
@@ -505,6 +505,7 @@ class Request:
HEADRequest = functools.partial(Request, method='HEAD')
+PATCHRequest = functools.partial(Request, method='PATCH')
PUTRequest = functools.partial(Request, method='PUT')