Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 661 for prefix (0.1 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt

     *
     * Not supported by choice on JDK9+ due to access checks.
     *
     * ### Android Cleartext Permit Detection
     *
     * Supported on Android 6.0+ via `NetworkSecurityPolicy`.
     */
    open class Platform {
      /** Prefix used on custom headers. */
      fun getPrefix() = "OkHttp"
    
      open fun newSSLContext(): SSLContext = SSLContext.getInstance("TLS")
    
      open fun platformTrustManager(): X509TrustManager {
        val factory =
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt

          FormBody
            .Builder()
            .add("a", String(intArrayOf('b'.code, codePoint, 'c'.code), 0, 3))
            .build()
        val buffer = Buffer()
        body.writeTo(buffer)
        buffer.skip(3) // Skip "a=b" prefix.
        return buffer.readUtf8(buffer.size - 1) // Skip the "c" suffix.
      }
    
      @Test
      fun manualCharset() {
        val body =
          FormBody
            .Builder(StandardCharsets.ISO_8859_1)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  3. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

      @StartStop
      private val server = MockWebServer()
    
      private val handshakeCertificates = platform.localhostHandshakeCertificates()
      private val logRecorder =
        HttpLoggingInterceptorTest.LogRecorder(
          prefix = Regex("""\[\d+ ms] """),
        )
      private val loggingEventListenerFactory = LoggingEventListener.Factory(logRecorder)
      private lateinit var client: OkHttpClient
      private lateinit var url: HttpUrl
    
      @BeforeEach
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

    import static org.apache.maven.cling.invoker.CliUtils.getCanonicalPath;
    import static org.apache.maven.cling.invoker.CliUtils.or;
    import static org.apache.maven.cling.invoker.CliUtils.prefix;
    import static org.apache.maven.cling.invoker.CliUtils.stripLeadingAndTrailingQuotes;
    import static org.apache.maven.cling.invoker.CliUtils.toMap;
    
    public abstract class BaseParser implements Parser {
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  5. docs/ru/docs/advanced/behind-a-proxy.md

    Когда FastAPI CLI сконфигурирован с `--forwarded-allow-ips`, он доверяет этим заголовкам и использует их, например, чтобы формировать корректные URL в редиректах.
    
    ## Прокси с функцией удаления префикса пути { #proxy-with-a-stripped-path-prefix }
    
    Прокси может добавлять к вашему приложению префикс пути (размещать приложение по пути с дополнительным префиксом).
    
    В таких случаях вы можете использовать `root_path` для настройки приложения.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  6. cmd/signature-v2_test.go

    		// Test case - 1.
    		// Case with empty V2AuthString.
    		{
    			authString:    "",
    			expectedError: ErrAuthHeaderEmpty,
    		},
    		// Test case - 2.
    		// Test case with `signV2Algorithm` ("AWS") not being the prefix.
    		{
    			authString:    "NoV2Prefix",
    			expectedError: ErrSignatureVersionNotSupported,
    		},
    		// Test case - 3.
    		// Test case with missing parts in the Auth string.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8K bytes
    - Click Count (0)
  7. cmd/bucket-policy.go

    		} else {
    			args[key] = values
    		}
    	}
    
    	// JWT specific values
    	//
    	// Add all string claims
    	for k, v := range claims {
    		vStr, ok := v.(string)
    		if ok {
    			// Trim any LDAP specific prefix
    			args[strings.ToLower(strings.TrimPrefix(k, "ldap"))] = []string{vStr}
    		}
    	}
    
    	// Add groups claim which could be a list. This will ensure that the claim
    	// `jwt:groups` works.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

    import org.apache.maven.plugin.PluginNotFoundException;
    import org.apache.maven.plugin.PluginResolutionException;
    import org.apache.maven.plugin.descriptor.MojoDescriptor;
    import org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException;
    import org.apache.maven.plugin.version.PluginVersionResolutionException;
    import org.apache.maven.project.MavenProject;
    import org.codehaus.plexus.classworlds.realm.ClassRealm;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleExecutionPlanCalculatorStub.java

    import org.apache.maven.plugin.PluginResolutionException;
    import org.apache.maven.plugin.descriptor.MojoDescriptor;
    import org.apache.maven.plugin.descriptor.PluginDescriptor;
    import org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException;
    import org.apache.maven.plugin.version.PluginVersionResolutionException;
    import org.apache.maven.project.MavenProject;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  10. cmd/streaming-signature-v4.go

    		break
    	}
    
    	// Verify signature.
    	sig := signatureBuffer.Bytes()
    	if !bytes.HasPrefix(sig, []byte("x-amz-trailer-signature:")) {
    		if cr.debug {
    			fmt.Printf("prefix, want prefix %q, got %q", "x-amz-trailer-signature:", string(sig))
    		}
    		return errMalformedEncoding
    	}
    
    	// TODO: It seems like we may have to be prepared to rewrite and sort trailing headers:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 18.2K bytes
    - Click Count (0)
Back to Top