Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 2,443 for Request (0.45 sec)

  1. internal/rest/client.go

    func (c *Client) newRequest(ctx context.Context, method string, u url.URL, body io.Reader) (*http.Request, error) {
    	rc, ok := body.(io.ReadCloser)
    	if !ok && body != nil {
    		rc = io.NopCloser(body)
    	}
    	req := &http.Request{
    		Method:     method,
    		URL:        &u,
    		Proto:      "HTTP/1.1",
    		ProtoMajor: 1,
    		ProtoMinor: 1,
    		Header:     make(http.Header),
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

            if (this.smb2 && !(request instanceof ServerMessageBlock2)) {
                throw new SmbException("Not an SMB2 request " + request.getClass().getName());
            }
            if (!this.smb2 && !(request instanceof ServerMessageBlock)) {
                throw new SmbException("Not an SMB1 request");
            }
    
            this.negotiated.setupRequest(request);
    
            if (response != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

            override fun writeTo(sink: BufferedSink) {
              sink.writeUtf8("Hello request!")
              sink.close()
            }
    
            override fun isDuplex(): Boolean = true
          }
        val request =
          request()
            .post(asyncRequestBody)
            .build()
        val response = client.newCall(request).execute()
        Assumptions.assumeTrue(response.protocol == Protocol.HTTP_2)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Nov 07 02:57:33 UTC 2025
    - 39.4K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt

        onEvent(
          RequestHeadersStart(
            System.nanoTime(),
            call,
          ),
        )
    
      override fun requestHeadersEnd(
        call: Call,
        request: Request,
      ) = onEvent(RequestHeadersEnd(System.nanoTime(), call, request.headers.byteCount()))
    
      override fun requestBodyStart(call: Call) =
        onEvent(
          RequestBodyStart(
            System.nanoTime(),
            call,
          ),
        )
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2EchoRequest.java

    import jcifs.Configuration;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Echo request message.
     *
     * This command is used to test connectivity and ensure the
     * SMB2 connection is still active.
     *
     * @author mbechler
     */
    public class Smb2EchoRequest extends ServerMessageBlock2Request<Smb2EchoResponse> {
    
        /**
         * Constructs an SMB2 echo request
         * @param config the client configuration
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_response_model/test_tutorial004.py

    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial004_py39"),
            pytest.param("tutorial004_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.response_model.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    @pytest.mark.parametrize(
        "url,data",
        [
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/ReportingConverter.java

         * @param request The model building request that holds further settings, must not be {@code null}.
         * @param problems The container used to collect problems that were encountered, must not be {@code null}.
         */
        void convertReporting(Model model, ModelBuildingRequest request, ModelProblemCollector problems);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorTest.java

            DefaultBeanConfigurationRequest request = new DefaultBeanConfigurationRequest();
            request.setBean(bean).setConfiguration(config);
            request.setValuePreprocessor(preprocessor).setPathTranslator(translator);
    
            configurator.configureBean(request);
    
            assertEquals(new File("base/test").getAbsoluteFile(), bean.file);
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. README.md

    ```java
    OkHttpClient client = new OkHttpClient();
    
    String run(String url) throws IOException {
      Request request = new Request.Builder()
          .url(url)
          .build();
    
      try (Response response = client.newCall(request).execute()) {
        return response.body().string();
      }
    }
    ```
    
    
    Post to a Server
    ----------------
    
    This program posts data to a service. [Full source][post_example].
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 21:39:59 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. docs/smb3-features/03-multi-channel-design.md

            // Send FSCTL_QUERY_NETWORK_INTERFACE_INFO
            Smb2IoctlRequest request = new Smb2IoctlRequest();
            request.setCtlCode(FSCTL_QUERY_NETWORK_INTERFACE_INFO);
            request.setFileId(new byte[16]);  // Use session ID
            request.setMaxOutputResponse(65536);
            
            Smb2IoctlResponse response = (Smb2IoctlResponse) session.send(request);
            
            if (response.isSuccess()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
Back to top