Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        assertEquals(4, numberOrdering.binarySearch(ints, 7));
      }
    
      public void testSortedCopy() {
        List<@Nullable Integer> unsortedInts =
            unmodifiableList(Arrays.<@Nullable Integer>asList(5, 0, 3, null, 0, 9));
        List<@Nullable Integer> sortedInts = numberOrdering.nullsLast().sortedCopy(unsortedInts);
        assertEquals(Arrays.<@Nullable Integer>asList(0, 0, 3, 5, 9, null), sortedInts);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 42.8K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/OrderingTest.java

        assertEquals(4, numberOrdering.binarySearch(ints, 7));
      }
    
      public void testSortedCopy() {
        List<@Nullable Integer> unsortedInts =
            unmodifiableList(Arrays.<@Nullable Integer>asList(5, 0, 3, null, 0, 9));
        List<@Nullable Integer> sortedInts = numberOrdering.nullsLast().sortedCopy(unsortedInts);
        assertEquals(Arrays.<@Nullable Integer>asList(0, 0, 3, 5, 9, null), sortedInts);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 42.8K bytes
    - Click Count (0)
  9. cmd/iam.go

    		loadUserCalled = true
    
    		u, ok = sys.store.GetUser(accessKey)
    	}
    
    	if !ok && loadUserCalled && err != nil {
    		iamLogOnceIf(ctx, err, accessKey)
    
    		// return 503 to application
    		return u, false, errIAMNotInitialized
    	}
    
    	return u, ok && u.Credentials.IsValid(), nil
    }
    
    // GetUser - get user credentials
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 76.5K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        assertCached(false, 416)
        assertCached(false, 417)
        assertCached(false, 418)
        assertCached(false, 500)
        assertCached(true, 501)
        assertCached(false, 502)
        assertCached(false, 503)
        assertCached(false, 504)
        assertCached(false, 505)
        assertCached(false, 506)
      }
    
      @Test
      fun responseCachingWith1xxInformationalResponse() {
        assertSubsequentResponseCached(102, 200)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 17:41:45 GMT 2025
    - 116.8K bytes
    - Click Count (0)
Back to Top