Revert "add keepa-live for uploading script parts"

This reverts commit 2ed8443e28.
This commit is contained in:
2025-05-18 19:15:58 +06:00
parent 9bc7cbdb50
commit 9acc69b897
2 changed files with 0 additions and 4 deletions

View File

@@ -37,8 +37,6 @@ if ((project.hasProperty('SONATYPE_USER') || System.getenv('SONATYPE_USER') != n
.POST(HttpRequest.BodyPublishers.ofString(""))
.header("Content-Type", "application/json")
.header("Authorization", "Bearer $bearer")
.header("Connection", "keep-alive")
.header("Keep-Alive", "timeout=7200")
.build()
def uploadResponse = client.send(uploadRequest, HttpResponse.BodyHandlers.ofString())
if (uploadResponse.statusCode() != 200) {

View File

@@ -37,8 +37,6 @@ if ((project.hasProperty('SONATYPE_USER') || System.getenv('SONATYPE_USER') != n
.POST(HttpRequest.BodyPublishers.ofString(""))
.header("Content-Type", "application/json")
.header("Authorization", "Bearer $bearer")
.header("Connection", "keep-alive")
.header("Keep-Alive", "timeout=7200")
.build()
def uploadResponse = client.send(uploadRequest, HttpResponse.BodyHandlers.ofString())
if (uploadResponse.statusCode() != 200) {