Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,758 for Request (0.04 sec)

  1. docs_src/path_operation_advanced_configuration/tutorial007_pv1.py

    async def create_item(request: Request):
        raw_body = await request.body()
        try:
            data = yaml.safe_load(raw_body)
        except yaml.YAMLError:
            raise HTTPException(status_code=422, detail="Invalid YAML")
        try:
            item = Item.parse_obj(data)
        except ValidationError as e:
            raise HTTPException(status_code=422, detail=e.errors())
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 789 bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/CommonServerMessageBlockRequest.java

     */
    package jcifs.internal;
    
    
    import jcifs.util.transport.Request;
    
    
    /**
     * @author mbechler
     *
     */
    public interface CommonServerMessageBlockRequest extends CommonServerMessageBlock, Request {
    
        /**
         * @return request was handled asynchronously
         */
        boolean isResponseAsync ();
    
    
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/RecordedResponse.kt

     */
    class RecordedResponse(
      @JvmField val request: Request,
      val response: Response?,
      val webSocket: WebSocket?,
      val body: String?,
      val failure: IOException?,
    ) {
      fun assertRequestUrl(url: HttpUrl) =
        apply {
          assertThat(request.url).isEqualTo(url)
        }
    
      fun assertRequestMethod(method: String) =
        apply {
          assertThat(request.method).isEqualTo(method)
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. doc/next/6-stdlib/99-minor/net/http/65035.md

    [Transport]'s limit on 1xx informational responses received
    in response to a request has changed.
    It previously aborted a request and returned an error after
    receiving more than 5 1xx responses.
    It now returns an error if the total size of all 1xx responses
    exceeds the [Transport.MaxResponseHeaderBytes] configuration setting.
    
    In addition, when a request has a
    [net/http/httptrace.ClientTrace.Got1xxResponse]
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 25 03:22:33 UTC 2024
    - 549 bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingEvent.java

        private Model model;
    
        private final ModelBuildingRequest request;
    
        private final ModelProblemCollector problems;
    
        DefaultModelBuildingEvent(Model model, ModelBuildingRequest request, ModelProblemCollector problems) {
            this.model = model;
            this.request = request;
            this.problems = problems;
        }
    
        @Override
        public Model getModel() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java

            assertNotNull(builder);
    
            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
            request.setProcessPlugins(true);
            request.setPomFile(getPom("simple"));
    
            ModelBuildingResult result = builder.build(request);
            assertNotNull(result);
            assertNotNull(result.getEffectiveModel());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuilder.java

         * Builds the effective model of the specified POM.
         *
         * @param request The model building request that holds the parameters, must not be {@code null}.
         * @return The result of the model building, never {@code null}.
         * @throws ModelBuildingException If the effective model could not be built.
         */
        ModelBuildingResult build(ModelBuildingRequest request) throws ModelBuildingException;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/PostFile.java

      public void run() throws Exception {
        File file = new File("README.md");
    
        Request request = new Request.Builder()
            .url("https://api.github.com/markdown/raw")
            .post(RequestBody.create(file, MEDIA_TYPE_MARKDOWN))
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat May 25 18:02:55 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/DevServer.kt

          .build()
    
      fun run() {
        try {
          val request = Request(server.url("/"))
    
          client.newCall(request).execute().use { response ->
            if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
            println(response.request.url)
          }
        } finally {
          server.shutdown()
        }
      }
    }
    
    fun main() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/DefaultModelVersionProcessor.java

            if (request.getUserProperties().containsKey(REVISION_PROPERTY)) {
                modelProperties.put(REVISION_PROPERTY, request.getUserProperties().get(REVISION_PROPERTY));
            }
            if (request.getUserProperties().containsKey(CHANGELIST_PROPERTY)) {
                modelProperties.put(CHANGELIST_PROPERTY, request.getUserProperties().get(CHANGELIST_PROPERTY));
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top