Search Options

Results per page
Sort
Preferred Languages
Advance

Results 791 - 800 of 1,758 for Request (0.05 sec)

  1. docs_src/handling_errors/tutorial004.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):
        return PlainTextResponse(str(exc), status_code=400)
    
    
    @app.get("/items/{item_id}")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 762 bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

        logWithTime("requestHeadersStart")
    
        delegate.requestHeadersStart(call)
      }
    
      override fun requestHeadersEnd(
        call: Call,
        request: Request,
      ) {
        logWithTime("requestHeadersEnd")
    
        delegate.requestHeadersEnd(call, request)
      }
    
      override fun requestBodyStart(call: Call) {
        logWithTime("requestBodyStart")
    
        delegate.requestBodyStart(call)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

            .build()
    
        server.enqueue(MockResponse(body = "abc1"))
        server.enqueue(MockResponse(body = "abc2"))
    
        val request = Request(server.url("/"))
    
        client.newCall(request).execute().use { response ->
          assertEquals(200, response.code)
        }
    
        client.connectionPool.evictAll()
        assertEquals(0, client.connectionPool.connectionCount())
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/networking/v1/generated.proto

      //   list of labels in the path split by the '/' separator. A request is a
      //   match for path p if every p is an element-wise prefix of p of the
      //   request path. Note that if the last element of the path is a substring
      //   of the last element in request path, it is not a match (e.g. /foo/bar
      //   matches /foo/bar/baz, but does not match /foo/barbaz).
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  5. mockwebserver-junit5/src/test/java/mockwebserver3/junit5/internal/ExtensionLifecycleTest.kt

        assertThat(server).isSameInstanceAs(instanceServer)
    
        clientTestRule.newClient().newCall(Request(server.url("/"))).execute().use {
          assertThat(it.code).isEqualTo(200)
        }
      }
    
      @Test
      fun testClient2(server: MockWebServer) {
        assertThat(server).isSameInstanceAs(instanceServer)
    
        clientTestRule.newClient().newCall(Request(server.url("/"))).execute().use {
          assertThat(it.code).isEqualTo(200)
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 11 12:12:36 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferral.java

        private int maxReferralLevel = 3;
    
        private final DfsReferralRequestBuffer request;
    
    
        /**
         * 
         * @param config
         * @param filename
         */
        public Trans2GetDfsReferral ( Configuration config, String filename ) {
            super(config, SMB_COM_TRANSACTION2, TRANS2_GET_DFS_REFERRAL);
            this.request = new DfsReferralRequestBuffer(filename, 3);
            this.totalDataCount = 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.9K bytes
    - Viewed (0)
  7. manifests/addons/dashboards/lib/queries.libsonnet

                'Received ({{pod}})',
                sum(rate(labels('istio_tcp_received_bytes_total', podLabels)), by=['pod'])
              ),
            ],
    
          dns:
            self.query(
              'Request ({{pod}})',
              sum(rate(labels('istio_dns_requests_total', podLabels)), by=['pod'])
            ),
    
          ztunnelXdsConnections:
            self.query(
              'XDS Connection Terminations ({{pod}})',
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

                    relatedQueryService.store(entity);
                    saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationError(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)),
                            this::asEditHtml);
                }
            }).orElse(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

                try (InputStream inputStream = form.kuromojiFile.getInputStream()) {
                    file.update(inputStream);
                } catch (final IOException e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationError(messages -> messages.addErrorsFailedToUploadKuromojiFile(GLOBAL),
                            () -> redirectWith(getClass(), moreUrl("uploadpage/" + form.dictId)));
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  10. docs/extensions/s3zip/examples/boto3/main.py

            aws_access_key_id='YOUR-ACCESSKEYID',
            aws_secret_access_key='YOUR-SECRETACCESSKEY',
            config=Config(signature_version='s3v4'),
            region_name='us-east-1')
    
    
    def _add_header(request, **kwargs):
        request.headers.add_header('x-minio-extract', 'true')
    event_system = s3.meta.events
    event_system.register_first('before-sign.s3.*', _add_header)
    
    # List zip contents
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 04 21:15:45 UTC 2021
    - 771 bytes
    - Viewed (0)
Back to top