- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 66 for parseFrom (0.16 sec)
-
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishIssuesIntegTest.groovy
} """ when: succeeds "publish" then: def mainPom = mavenRepo.module('my.org', 'main', '1.0').parsedPom mainPom.scopes.compile.expectDependency('my.org:util:1.0') def utilPom = mavenRepo.module('my.org', 'util', '1.0').parsedPom utilPom.scopes.compile.expectDependency('org.gradle:dep:1.1') } @Issue("GRADLE-2945")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 07 19:31:52 UTC 2024 - 16.9K bytes - Viewed (0) -
cmd/url_test.go
// benchmark utility which helps obtain number of allocations and bytes allocated per ops. b.ReportAllocs() // the actual benchmark for PutObject starts here. Reset the benchmark timer. b.ResetTimer() if err := req.ParseForm(); err != nil { b.Fatal(err) } b.RunParallel(func(pb *testing.PB) { for pb.Next() { req.Form.Get("uploadId") } }) // Benchmark ends here. Stop timer. b.StopTimer() }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Nov 16 17:28:29 UTC 2021 - 2K bytes - Viewed (0) -
src/net/http/request.go
// application/x-www-form-urlencoded, the request Body is not read, and // r.PostForm is initialized to a non-nil, empty value. // // [Request.ParseMultipartForm] calls ParseForm automatically. // ParseForm is idempotent. func (r *Request) ParseForm() error { var err error if r.PostForm == nil { if r.Method == "POST" || r.Method == "PUT" || r.Method == "PATCH" { r.PostForm, err = parsePostForm(r) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 49.4K bytes - Viewed (0) -
cmd/sts-handlers.go
// Session tokens are not allowed in STS AssumeRole requests. if getSessionToken(r) != "" { return auth.Credentials{}, ErrAccessDenied } return user, ErrNone } func parseForm(r *http.Request) error { if err := r.ParseForm(); err != nil { return err } for k, v := range r.PostForm { if _, ok := r.Form[k]; !ok { r.Form[k] = v } } return nil }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 11 03:13:30 UTC 2024 - 33.9K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishArtifactCustomizationIntegTest.groovy
when: succeeds 'publish' then: def module = mavenRepo.module("group", "projectText", "1.0") module.assertPublished() module.parsedPom.packaging == "txt" module.assertArtifactsPublished("projectText-1.0.pom", "projectText-1.0.txt", "projectText-1.0-customjar.jar") and: resolveArtifacts(module) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 04 06:46:01 UTC 2024 - 22.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/AbstractGradlePomModuleDescriptorParserTest.groovy
TestFile pomFile MutableMavenModuleResolveMetadata metadata def "setup"() { pomFile = tmpDir.file('test-pom.xml') } protected void parsePom() { metadata = parseMetaData() } protected LocallyAvailableExternalResource asResource(File file) { return fileRepository.resource(file) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.3K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishIdentifierValidationIntegTest.groovy
} """ when: succeeds 'publish' then: def module = javaLibrary(mavenRepo.module(groupId, artifactId, version)) module.assertPublished() module.parsedPom.description == description and: resolveArtifacts(module) { expectFiles "${artifactId}-${version}.jar" } where: identifier << Identifier.all }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 5.7K bytes - Viewed (0) -
pkg/kubelet/server/stats/handler.go
func (h *handler) handleSummary(request *restful.Request, response *restful.Response) { ctx := request.Request.Context() onlyCPUAndMemory := false err := request.Request.ParseForm() if err != nil { handleError(response, "/stats/summary", fmt.Errorf("parse form failed: %w", err)) return } if onlyCluAndMemoryParam, found := request.Request.Form["only_cpu_and_memory"]; found &&
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 14 21:31:38 UTC 2023 - 6.8K bytes - Viewed (0) -
pkg/test/echo/server/endpoint/http.go
epLog.Warn(msg) _, _ = out.WriteString(msg + "\n") } func (h *httpHandler) echo(w http.ResponseWriter, r *http.Request, id uuid.UUID) { body := bytes.Buffer{} if err := r.ParseForm(); err != nil { writeError(&body, "ParseForm() error: "+err.Error()) } // If the request has form ?delay=[:duration] wait for duration // For example, ?delay=10s will cause the response to wait 10s before responding
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 16:20:31 UTC 2023 - 12.8K bytes - Viewed (0) -
src/net/http/request_test.go
} } // Issue #25192: Test that ParseForm fails but still parses the form when a URL // containing a semicolon is provided. func TestParseFormSemicolonSeparator(t *testing.T) { for _, method := range []string{"POST", "PATCH", "PUT", "GET"} { req, _ := NewRequest(method, "http://www.google.com/search?q=foo;q=bar&a=1", strings.NewReader("q")) err := req.ParseForm() if err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 18:42:34 UTC 2024 - 44K bytes - Viewed (0)