- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for SendError (0.11 sec)
-
platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceErrorHandlingIntegrationTest.groovy
def requestCounter = new AtomicInteger() httpBuildCacheServer.addResponder { req, res -> requestCounter.incrementAndGet() res.sendError(500) false } settingsFile << withHttpBuildCacheServer() when: withBuildCache().run("customTask", "customTask2") then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 7.1K bytes - Viewed (0) -
platforms/software/security/src/testFixtures/groovy/org/gradle/security/fixtures/KeyServer.groovy
KeyServer.this.fileHandler("/pks/lookup", KeyServer.this.keyFiles[keyId]).handle(request, response) } else { response.sendError(404, "not found") } } } }) } void registerPublicKey(PGPPublicKey key) { String longKeyId = toLongIdHexString(key.keyID)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 3K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenHttpRepoResolveIntegrationTest.groovy
void handle(HttpServletRequest request, HttpServletResponse response) { response.sendError(304, 'Not Modified') } }) then: fails 'retrieve' failure.assertHasCause('Response 304: Not Modified has no content!') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 13.6K bytes - Viewed (0) -
platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceIntegrationTest.groovy
and: httpBuildCacheServer.addResponder { req, res -> if (req.method == "PUT") { assert req.getHeader("expect") == "100-continue" res.sendError(401) false } else { true } } when: executer.withStackTraceChecksDisabled() withBuildCache().run "jar"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 23:08:20 UTC 2024 - 15.8K bytes - Viewed (0)