Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,758 for Request (0.22 sec)

  1. internal/handlers/forwarder.go

    	if f.Logger != nil && err != context.Canceled {
    		f.Logger(err)
    	}
    	w.WriteHeader(http.StatusBadGateway)
    }
    
    func (f *Forwarder) getURLFromRequest(req *http.Request) *url.URL {
    	// If the Request was created by Go via a real HTTP request,  RequestURI will
    	// contain the original query string. If the Request was created in code, RequestURI
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 07 05:42:10 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

              }
    
              else -> Unit // No request body.
            }
          }
    
          val method = request.substringBefore(' ')
          require(!hasBody || HttpMethod.permitsRequestBody(method)) {
            "Request must not have a body: $request"
          }
        } catch (e: IOException) {
          failure = e
        }
    
        return RecordedRequest(
          requestLine = request,
          headers = headers.build(),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Interceptor.kt

         *     chain.proceed(chain.request())
         * }
         * ```
         */
        inline operator fun invoke(crossinline block: (chain: Chain) -> Response): Interceptor = Interceptor { block(it) }
      }
    
      interface Chain {
        fun request(): Request
    
        @Throws(IOException::class)
        fun proceed(request: Request): Response
    
        /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/InterceptorTest.kt

            .build()
        val response = client.newCall(request).execute()
        assertThat(response.request.header("User-Agent")).isNotNull()
        assertThat(response.request.header("User-Agent")).isEqualTo("user request")
        assertThat(response.networkResponse!!.request.header("User-Agent")).isEqualTo(
          "intercepted request",
        )
      }
    
      @Test
      fun applicationInterceptorThrowsRuntimeExceptionAsynchronous() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java

            buf.append("12345ABCDE");
            request.setParameter("userCode", buf.toString());
            assertEquals("12345abcde12345ABCDE", userInfoHelper.getUserCodeFromRequest(request));
            request.setParameter("userCode", buf.toString() + "_");
            assertEquals("12345abcde12345ABCDE_", userInfoHelper.getUserCodeFromRequest(request));
            request.setParameter("userCode", buf.toString() + " ");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-RequestCommon.kt

    fun Request.Builder.commonDelete(body: RequestBody?): Request.Builder = method("DELETE", body)
    
    fun Request.Builder.commonPut(body: RequestBody): Request.Builder = method("PUT", body)
    
    fun Request.Builder.commonPatch(body: RequestBody): Request.Builder = method("PATCH", body)
    
    fun Request.Builder.commonMethod(
      method: String,
      body: RequestBody?,
    ): Request.Builder =
      apply {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/middleware.md

    Eine „Middleware“ ist eine Funktion, die mit jedem **Request** arbeitet, bevor er von einer bestimmten *Pfadoperation* verarbeitet wird. Und auch mit jeder **Response**, bevor sie zurückgegeben wird.
    
    * Sie nimmt jeden **Request** entgegen, der an Ihre Anwendung gesendet wird.
    * Sie kann dann etwas mit diesem **Request** tun oder beliebigen Code ausführen.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FilterModelBuildingRequest.java

            this.request = request;
        }
    
        @Deprecated
        @Override
        public File getPomFile() {
            return request.getPomFile();
        }
    
        @Override
        public Path getPomPath() {
            return request.getPomPath();
        }
    
        @Deprecated
        @Override
        public ModelBuildingRequest setPomFile(File pomFile) {
            request.setPomFile(pomFile);
            return this;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            cli.properties(request);
            cli.logging(request);
            assertFalse(MessageUtils.isColorEnabled());
    
            MessageUtils.setColorEnabled(true);
            request = new CliRequest(new String[] {"--force-interactive", "--non-interactive"}, null);
            cli.cli(request);
            cli.properties(request);
            cli.logging(request);
            assertTrue(MessageUtils.isColorEnabled());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. cmd/bucket-policy-handlers_test.go

    		}
    	}
    
    	// Test for Anonymous/unsigned http request.
    	// Bucket policy related functions doesn't support anonymous requests, setting policies shouldn't make a difference.
    	// create unsigned HTTP request for PutBucketPolicyHandler.
    	anonReq, err := newTestRequest(http.MethodGet, getPutPolicyURL("", bucketName), 0, nil)
    	if err != nil {
    		t.Fatalf("MinIO %s: Failed to create an anonymous request for bucket \"%s\": <ERROR> %v",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top