Close connection by default.

This commit is contained in:
Kavin 2022-11-23 08:14:23 +00:00
parent aecd5dbc67
commit 7fa3f40bc4
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ async fn fetch_restrictions(video_id: &str) -> RestrictionInfo {
.header("X-Origin", "https://explorer.apis.google.com")
.header("X-Referer", "https://explorer.apis.google.com")
.header("X-Goog-Encode-Response-If-Executable", "base64")
.header("Connection", "keep-alive")
.header("Connection", "close")
.header("Sec-Fetch-Dest", "empty")
.header("Sec-Fetch-Mode", "cors")
.header("Sec-Fetch-Site", "same-origin")