Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 19 for 503 (0.02 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 Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            assertEquals(cause, exception.getCause());
        }
    
        @Test
        public void test_constructor_withStatusCodeAndException() {
            // Test constructor with status code and exception
            int statusCode = 503;
            String causeMessage = "Service temporarily unavailable";
            Exception cause = new IllegalStateException(causeMessage);
    
            WebApiException exception = new WebApiException(statusCode, cause);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.5K 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 Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6.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 Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 14:16:29 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  5. .teamcity/performance-test-durations.json

      } ]
    }, {
      "scenario" : "org.gradle.performance.experiment.declarativedsl.DeclarativeDslFirstUsePerformanceTest.clean checkout",
      "durations" : [ {
        "testProject" : "largeEmptyMultiProjectDeclarativeDsl",
        "linux" : 503
      } ]
    }, {
      "scenario" : "org.gradle.performance.experiment.declarativedsl.DeclarativeDslFirstUsePerformanceTest.cold daemon",
      "durations" : [ {
        "testProject" : "largeEmptyMultiProjectDeclarativeDsl",
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 04:45:09 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  6. tests/test_include_router_defaults_overrides.py

    Sebastián Ramírez <******@****.***> 1770545918 -0800
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 385.6K bytes
    - Click Count (0)
  7. 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 Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/llm/LlmException.java

    Shinsuke Sugaya <******@****.***> 1772848386 +0900
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                WebApiUtil.setError(404, "Not Found");
                WebApiUtil.setError(500, "Internal Server Error");
                WebApiUtil.setError(502, "Bad Gateway");
                WebApiUtil.setError(503, "Service Unavailable");
            } catch (Exception e) {
                fail("setError should handle various status codes gracefully: " + e.getMessage());
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  10. 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 Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 21:03:04 GMT 2025
    - 24.9K bytes
    - Click Count (0)
Back to Top