Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 876 for curl (0.03 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RequestLine.kt

      /**
       * Returns the path to request, like the '/' in 'GET / HTTP/1.1'. Never empty, even if the request
       * URL is. Includes the query component if it exists.
       */
      fun requestPath(url: HttpUrl): String {
        val path = url.encodedPath
        val query = url.encodedQuery
        return if (query != null) "$path?$query" else path
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Jun 17 00:47:36 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. cmd/signature-v4.go

    // types.
    // - Based on Authorization header.
    // - Based on Query parameters.
    // - Based on Form POST policy.
    package cmd
    
    import (
    	"bytes"
    	"crypto/subtle"
    	"encoding/hex"
    	"net/http"
    	"net/url"
    	"sort"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/minio/minio-go/v7/pkg/s3utils"
    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/hash/sha256"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Dec 13 22:19:12 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  3. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

        bootstrapClient: OkHttpClient,
        includeIPv6: Boolean,
        post: Boolean = false,
      ): DnsOverHttps {
        val url = server.url("/lookup?ct")
        return DnsOverHttps
          .Builder()
          .client(bootstrapClient)
          .includeIPv6(includeIPv6)
          .resolvePrivateAddresses(true)
          .url(url)
          .post(post)
          .build()
      }
    
      companion object {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  4. internal/rest/client_test.go

    package rest
    
    import (
    	"errors"
    	"net"
    	"net/url"
    	"testing"
    )
    
    func TestNetworkError_Unwrap(t *testing.T) {
    	tests := []struct {
    		name   string
    		err    error
    		target any
    		want   bool
    	}{
    		{
    			name:   "url.Error",
    			err:    &url.Error{Op: "PUT", URL: "http://localhost/1234", Err: restError("remote server offline")},
    			target: &url.Error{},
    			want:   true,
    		},
    		{
    			name: "net.Error",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  5. cmd/site-replication.go

    		sm.ActiveWorkers.Curr += peer.ActiveWorkers.Curr
    		if peer.ActiveWorkers.Max > sm.ActiveWorkers.Max {
    			sm.ActiveWorkers.Max += peer.ActiveWorkers.Max
    		}
    		sm.Queued.Avg.Bytes += peer.Queued.Avg.Bytes
    		sm.Queued.Avg.Count += peer.Queued.Avg.Count
    		sm.Queued.Curr.Bytes += peer.Queued.Curr.Bytes
    		sm.Queued.Curr.Count += peer.Queued.Curr.Count
    		if peer.Queued.Max.Count > sm.Queued.Max.Count {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 184.8K bytes
    - Click Count (1)
  6. compat/maven-model-builder/src/test/resources/poms/inheritance/empty-urls-expected.xml

      </parent>
      <groupId>inheritance</groupId>
      <artifactId>child</artifactId>
      <version>1</version>
      <url></url>
      <scm>
        <connection></connection>
        <developerConnection></developerConnection>
        <url></url>
      </scm>
      <distributionManagement>
        <site>
          <url></url>
        </site>
      </distributionManagement>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  7. .teamcity/src/test/kotlin/PerformanceTestBuildTypeTest.kt

                    "\"-Porg.gradle.java.installations.paths=$expectedInstallationPaths\"",
                    "\"-Porg.gradle.performance.branchName=%teamcity.build.branch%\"",
                    "\"-Porg.gradle.performance.db.url=%performance.db.url%\"",
                    "\"-Porg.gradle.performance.db.username=%performance.db.username%\"",
                    "-DenableTestDistribution=%enableTestDistribution%",
                    "-Dorg.gradle.workers.max=%maxParallelForks%",
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Sep 18 12:22:32 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  8. internal/event/target/elasticsearch.go

    }
    
    // ElasticsearchArgs - Elasticsearch target arguments.
    type ElasticsearchArgs struct {
    	Enable     bool            `json:"enable"`
    	Format     string          `json:"format"`
    	URL        xnet.URL        `json:"url"`
    	Index      string          `json:"index"`
    	QueueDir   string          `json:"queueDir"`
    	QueueLimit uint64          `json:"queueLimit"`
    	Transport  *http.Transport `json:"-"`
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 15K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/test/resources/poms/validation/raw-model/repository-with-basedir-expression.xml

      <repositories>
        <repository>
          <id>repo</id>
          <url>file://${basedir}/target/remote-repo</url>
        </repository>
        <repository>
          <id>repo-project-basedir</id>
          <url>file://${project.basedir}/sdk/maven/repo</url>
        </repository>
        <repository>
          <id>repo-project-baseUri</id>
          <url>${project.baseUri}/sdk/maven/repo</url>
        </repository>
      </repositories>
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  10. android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt

              "\\d+".toRegex(),
              "",
            )
          },
        ).containsExactly(
          "--> GET http://google.com/robots.txt",
          "<-- HTTP FAILED: java.net.UnknownHostException: shortcircuit. ${request.url} (ms)",
        )
        // We should consider if these logs should retain Exceptions
        assertThat(logs.last().throwable).isNull()
      }
    
      @Test
      fun testLoggingEventListener() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Aug 21 14:27:04 GMT 2025
    - 3.2K bytes
    - Click Count (0)
Back to Top