Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1081 - 1090 of 2,991 for requis (0.05 seconds)

  1. docs_src/handling_errors/tutorial004_py39.py

    app = FastAPI()
    
    
    @app.exception_handler(StarletteHTTPException)
    async def http_exception_handler(request, exc):
        return PlainTextResponse(str(exc.detail), status_code=exc.status_code)
    
    
    @app.exception_handler(RequestValidationError)
    async def validation_exception_handler(request, exc: RequestValidationError):
        message = "Validation errors:"
        for error in exc.errors():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 920 bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

         * functionality. This implementation uses request-scoped caching ({@link CacheRetention#REQUEST_SCOPED})
         * since it represents a POM file that is actively being built and may change during the build process.
         * <p>
         * The request-scoped retention policy ensures that:
         * <ul>
         *   <li>Changes to the POM file during the build are detected</li>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  3. scripts/translate.py

    Example:
    
        Source (English):
    
            «««
            [Create Pull Requests](help-fastapi.md#create-a-pull-request){.internal-link target=_blank}
            »»»
    
        Result (German):
    
            «««
            [Pull Requests erzeugen](help-fastapi.md#create-a-pull-request){.internal-link target=_blank}
            »»»
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:05:53 GMT 2025
    - 34.1K bytes
    - Click Count (0)
  4. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        assertThat(reader.readLine()).isEqualTo("hello world")
        val request = server.takeRequest()
        assertThat(request.requestLine).isEqualTo(
          "GET /a/deep/path?key=foo%20bar HTTP/1.1",
        )
        assertThat(request.path).isEqualTo("/a/deep/path?key=foo%20bar")
        val requestUrl = request.requestUrl
        assertThat(requestUrl!!.scheme).isEqualTo("http")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 03 13:16:34 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/SMBSigningDigestTest.java

            // Arrange
            int offset = 0;
            int length = testData.length;
    
            // Act
            signingDigest.sign(testData, offset, length, request, response);
    
            // Assert
            verify(signingDigest, times(1)).sign(testData, offset, length, request, response);
        }
    
        @Test
        @DisplayName("Test sign method with different offsets")
        void testSignWithDifferentOffsets() {
            // Arrange
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt

      @Throws(IOException::class)
      fun writeRequestHeaders(request: Request) {
        try {
          call.eventListener.requestHeadersStart(call)
          codec.writeRequestHeaders(request)
          call.eventListener.requestHeadersEnd(call, request)
        } catch (e: IOException) {
          call.eventListener.requestFailed(call, e)
          trackFailure(e)
          throw e
        }
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/SmbNegotiationRequest.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal;
    
    /**
     * Interface for SMB protocol negotiation request messages.
     * Represents the client's request to negotiate SMB protocol version and capabilities
     * with the server, including security requirements like message signing.
     *
     * @author mbechler
     */
    public interface SmbNegotiationRequest {
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  8. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdTestMain.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.zstd
    
    import okhttp3.CompressionInterceptor
    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    fun main() {
      val client =
        OkHttpClient
          .Builder()
          .addInterceptor(CompressionInterceptor(Zstd))
          .build()
    
      sendRequest("https://developers.facebook.com/docs/", client)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Jul 29 20:01:04 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/collector/ProjectCollectionStrategy.java

    /**
     * Describes strategies for finding projects that Maven could build.
     */
    public interface ProjectCollectionStrategy {
        /**
         *
         * @param request
         * @return
         * @throws ProjectBuildingException
         */
        List<MavenProject> collectProjects(MavenExecutionRequest request) throws ProjectBuildingException;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_dataclasses/test_tutorial002.py

    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial002_py39"),
            pytest.param("tutorial002_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dataclasses_.{request.param}")
    
        client = TestClient(mod.app)
        client.headers.clear()
        return client
    
    
    def test_get_item(client: TestClient):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 2.9K bytes
    - Click Count (0)
Back to Top