mirror of
				https://github.com/InsanusMokrassar/MicroUtils.git
				synced 2025-11-04 14:14:51 +00:00 
			
		
		
		
	Revert "add keepa-live for uploading script parts"
This reverts commit 2ed8443e28.
			
			
This commit is contained in:
		@@ -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) {
 | 
			
		||||
 
 | 
			
		||||
@@ -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) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user