Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 491 - 500 of 1,238 for replication (0.06 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java

        Request request = new Request.Builder()
            .url("https://api.github.com/repos/square/okhttp/issues")
            .header("User-Agent", "OkHttp Headers.java")
            .addHeader("Accept", "application/json; q=0.5")
            .addHeader("Accept", "application/vnd.github.v3+json")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.6K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

          """
          |--simple boundary
          |
          |abcd
          |--simple boundary--
          """.trimMargin()
            .replace("\n", "\r\n")
    
        val responseBody =
          multipart.toResponseBody(
            "application/multipart; boundary=\"simple boundary\"".toMediaType(),
          )
    
        val parts = MultipartReader(responseBody)
        assertThat(parts.boundary).isEqualTo("simple boundary")
    
        val part = parts.nextPart()!!
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 02:11:14 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformerTest.java

            responseData.setUrl("http://example.com/document.pdf");
            assertEquals("http://example.com/document.pdf", responseData.getUrl());
    
            responseData.setMimeType("application/pdf");
            assertEquals("application/pdf", responseData.getMimeType());
    
            responseData.setCharSet("UTF-8");
            assertEquals("UTF-8", responseData.getCharSet());
    
            responseData.setHttpStatusCode(200);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/stream-json-lines.md

    ## JSON Lines { #json-lines }
    
    En estos casos, es común enviar "**JSON Lines**", que es un formato donde envías un objeto JSON por línea.
    
    Una response tendría un tipo de contenido `application/jsonl` (en lugar de `application/json`) y el response body sería algo como:
    
    ```json
    {"name": "Plumbus", "description": "A multi-purpose household device."}
    {"name": "Portal Gun", "description": "A portal opening device."}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/stream-json-lines.md

    ## JSON Lines { #json-lines }
    
    In these cases, it's common to send "**JSON Lines**", which is a format where you send one JSON object per line.
    
    A response would have a content type of `application/jsonl` (instead of `application/json`) and the body would be something like:
    
    ```json
    {"name": "Plumbus", "description": "A multi-purpose household device."}
    {"name": "Portal Gun", "description": "A portal opening device."}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  6. docs/tr/docs/tutorial/index.md

         <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span>  Waiting for application startup.
         <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span>  Application startup complete.
    ```
    
    </div>
    
    Kodu yazmanız ya da kopyalayıp düzenlemeniz ve yerelinizde çalıştırmanız **şiddetle önerilir**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  7. cmd/api-response_test.go

    	}
    }
    
    func TestWriteResponseHeadersNotWritten(t *testing.T) {
    	rw := httptest.NewRecorder()
    	trw := &trackingResponseWriter{ResponseWriter: rw}
    
    	writeResponse(trw, 299, []byte("hello"), "application/foo")
    
    	resp := rw.Result()
    	if resp.StatusCode != 299 {
    		t.Fatal("response wasn't written")
    	}
    }
    
    func TestWriteResponseHeadersWritten(t *testing.T) {
    	rw := httptest.NewRecorder()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  8. .github/workflows/multipart/nginx-site1.conf

    worker_processes  auto;
    
    error_log  /var/log/nginx/error.log warn;
    pid        /var/run/nginx.pid;
    
    events {
        worker_connections  4096;
    }
    
    http {
        include       /etc/nginx/mime.types;
        default_type  application/octet-stream;
    
        log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                          '$status $body_bytes_sent "$http_referer" '
                          '"$http_user_agent" "$http_x_forwarded_for"';
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Sep 30 10:13:56 GMT 2023
    - 1.7K bytes
    - Click Count (0)
  9. .github/workflows/multipart/nginx-site2.conf

    worker_processes  auto;
    
    error_log  /var/log/nginx/error.log warn;
    pid        /var/run/nginx.pid;
    
    events {
        worker_connections  4096;
    }
    
    http {
        include       /etc/nginx/mime.types;
        default_type  application/octet-stream;
    
        log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                          '$status $body_bytes_sent "$http_referer" '
                          '"$http_user_agent" "$http_x_forwarded_for"';
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Sep 30 10:13:56 GMT 2023
    - 1.7K bytes
    - Click Count (0)
  10. tests/test_security_http_base_optional.py

                        "get": {
                            "responses": {
                                "200": {
                                    "description": "Successful Response",
                                    "content": {"application/json": {"schema": {}}},
                                }
                            },
                            "summary": "Read Current User",
                            "operationId": "read_current_user_users_me_get",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2K bytes
    - Click Count (0)
Back to Top