Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 15 for 503 (0.01 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt

        assertThat(statusLine.protocol).isEqualTo(Protocol.HTTP_1_1)
        assertThat(statusLine.code).isEqualTo(code)
      }
    
      @Test
      fun emptyMessage() {
        val version = 1
        val code = 503
        val statusLine = parse("HTTP/1.$version $code ")
        assertThat(statusLine.message).isEqualTo("")
        assertThat(statusLine.protocol).isEqualTo(Protocol.HTTP_1_1)
        assertThat(statusLine.code).isEqualTo(code)
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  2. tests/test_dependency_yield_scope.py

            self.open = True
    
    
    def dep_session() -> Any:
        s = Session()
        yield s
        s.open = False
    
    
    def raise_after_yield() -> Any:
        yield
        raise HTTPException(status_code=503, detail="Exception after yield")
    
    
    SessionFuncDep = Annotated[Session, Depends(dep_session, scope="function")]
    SessionRequestDep = Annotated[Session, Depends(dep_session, scope="request")]
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  3. internal/http/server.go

    		} else {
    			interfaceFound = true
    		}
    	}
    	if !interfaceFound {
    		return nil, errors.New("no available interface found")
    	}
    
    	// Wrap given handler to do additional
    	// * return 503 (service unavailable) if the server in shutdown.
    	wrappedHandler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		// If server is in shutdown.
    		if atomic.LoadUint32(&srv.inShutdown) != 0 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  4. gradle/libs.versions.toml

    brotli-dec = "org.brotli:dec:0.1.2"
    #noinspection UnusedVersionCatalogEntry
    checkStyle = { module = "com.puppycrawl.tools:checkstyle", version.ref = "checkStyle" }
    clikt = "com.github.ajalt.clikt:clikt:5.0.3"
    #noinspection UnusedVersionCatalogEntry
    codehaus-signature-java18 = "org.codehaus.mojo.signature:java18:1.0"
    conscrypt-android = { module = "org.conscrypt:conscrypt-android", version.ref = "org-conscrypt" }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 19 22:05:50 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

       *    has since been closed by the server.
       *  * A client timeout (HTTP 408).
       *  * A authorization challenge (HTTP 401 and 407) that is satisfied by the [Authenticator].
       *  * A retryable server failure (HTTP 503 with a `Retry-After: 0` response header).
       *  * A misdirected request (HTTP 421) on a coalesced connection.
       */
      open fun isOneShot(): Boolean = false
    
      /**
       * Returns the SHA-256 hash of this [RequestBody]
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 14:16:29 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

          MockResponse
            .Builder()
            .code(503)
            .addHeader("Connection", "Close")
            .addHeader("Retry-After", "0")
            .body("You took too long!")
            .onResponseEnd(ShutdownConnection)
            .build(),
        )
        server.enqueue(
          MockResponse
            .Builder()
            .code(503)
            .addHeader("Connection", "Close")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 147.4K bytes
    - Click Count (0)
  7. cmd/signature-v4-utils.go

    	if cred.AccessKey != accessKey {
    		if !globalIAMSys.Initialized() {
    			// Check if server has initialized, then only proceed
    			// to check for IAM users otherwise its okay for clients
    			// to retry with 503 errors when server is coming up.
    			return auth.Credentials{}, false, ErrIAMNotInitialized
    		}
    
    		// Check if the access key is part of users credentials.
    		u, ok, err := globalIAMSys.CheckKey(r.Context(), accessKey)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Nov 25 17:10:22 GMT 2024
    - 9.1K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

       *  * For auth challenges (401: Unauthorized, 407: Proxy Authentication Required.)
       *  * For client timeouts (408: Request Time-Out.)
       *  * For server failures (503: Service Unavailable.)
       *
       * Response header values like `Location` and `Retry-After` are also considered.
       *
       * Client configuration may be used to make follow-up decisions, such as:
       *
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 21:03:04 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  9. index.yaml

        maintainers:
        - email: ******@****.***
          name: MinIO, Inc
        name: minio
        sources:
        - https://github.com/minio/minio
        urls:
        - https://charts.min.io/helm-releases/minio-5.0.3.tgz
        version: 5.0.3
      - apiVersion: v1
        appVersion: RELEASE.2022-12-12T19-27-27Z
        created: "2025-01-02T21:34:25.191760917-08:00"
        description: Multi-Cloud Object Storage
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jan 03 05:34:47 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  10. cmd/storage-rest-client.go

    		}
    	}
    	if errors.Is(err, grid.ErrDisconnected) {
    		return true
    	}
    	// More corner cases suitable for storage REST API
    	switch {
    	// A peer node can be in shut down phase and proactively
    	// return 503 server closed error, consider it as an offline node
    	case strings.Contains(err.Error(), http.ErrServerClosed.Error()):
    		return true
    	// Corner case, the server closed the connection with a keep-alive timeout
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 08 02:38:41 GMT 2025
    - 30.4K bytes
    - Click Count (0)
Back to Top