Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 727 for Response_ (0.41 sec)

  1. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            SuggestResponse response3 = suggester.suggest().setQuery("is").setSuggestDetail(true).execute().getResponse();
            assertEquals(0, response3.getNum());
            assertEquals(0, response3.getTotal());
    
            SuggestResponse response4 = suggester.suggest().setQuery("delicious").setSuggestDetail(true).execute().getResponse();
            assertEquals(1, response4.getNum());
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  2. src/net/http/response.go

    	"Transfer-Encoding": true,
    	"Trailer":           true,
    }
    
    // Response represents the response from an HTTP request.
    //
    // The [Client] and [Transport] return Responses from servers once
    // the response headers have been received. The response body
    // is streamed on demand as the Body field is read.
    type Response struct {
    	Status     string // e.g. "200 OK"
    	StatusCode int    // e.g. 200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt

        server.enqueue(MockResponse(body = "b"))
        val request = Request(server.url("/"))
        val response1 = client.newCall(request).execute()
        val response2 = client.newCall(request).execute()
        response1.body.string() // Discard the response body.
        response2.body.string() // Discard the response body.
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Response.kt

        }
    
        internal constructor(response: Response) {
          this.request = response.request
          this.protocol = response.protocol
          this.code = response.code
          this.message = response.message
          this.handshake = response.handshake
          this.headers = response.headers.newBuilder()
          this.body = response.body
          this.networkResponse = response.networkResponse
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/custom-response.md

    ### `Response`
    
    Die Hauptklasse `Response`, alle anderen Responses erben von ihr.
    
    Sie können sie direkt zurückgeben.
    
    Sie akzeptiert die folgenden Parameter:
    
    * `content` – Ein `str` oder `bytes`.
    * `status_code` – Ein `int`-HTTP-Statuscode.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 23 13:05:12 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/custom-response.md

    <img src="/img/tutorial/custom-response/image01.png">
    
    ## Available responses
    
    Here are some of the available responses.
    
    Keep in mind that you can use `Response` to return anything else, or even create a custom sub-class.
    
    !!! note "Technical Details"
        You could also use `from starlette.responses import HTMLResponse`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. docs/ja/docs/advanced/custom-response.md

    デフォルトでは、**FastAPI** は `JSONResponse` を使ってレスポンスを返します。
    
    [レスポンスを直接返す](response-directly.md){.internal-link target=_blank}で見たように、 `Response` を直接返すことでこの挙動をオーバーライドできます。
    
    しかし、`Response` を直接返すと、データは自動的に変換されず、ドキュメントも自動生成されません (例えば、生成されるOpenAPIの一部としてHTTPヘッダー `Content-Type` に特定の「メディアタイプ」を含めるなど) 。
    
    しかし、*path operationデコレータ* に、使いたい `Response` を宣言することもできます。
    
    *path operation関数* から返されるコンテンツは、その `Response` に含まれます。
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jul 19 19:14:58 UTC 2021
    - 10.7K bytes
    - Viewed (0)
  8. cmd/api-response.go

    	w.WriteHeader(statusCode)
    	if response != nil {
    		w.Write(response)
    	}
    }
    
    // mimeType represents various MIME type used API responses.
    type mimeType string
    
    const (
    	// Means no response type.
    	mimeNone mimeType = ""
    	// Means response type is JSON.
    	mimeJSON mimeType = "application/json"
    	// Means response type is XML.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/response-model.md

    Und Tools werden auch glücklich sein, weil sowohl `RedirectResponse` als auch `JSONResponse` Unterklassen von `Response` sind, die Typannotation ist daher korrekt.
    
    ### Eine Unterklasse von Response annotieren
    
    Sie können auch eine Unterklasse von `Response` in der Typannotation verwenden.
    
    ```Python hl_lines="8-9"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:26:58 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/response-model.md

    And tools will also be happy because both `RedirectResponse` and `JSONResponse` are subclasses of `Response`, so the type annotation is correct.
    
    ### Annotate a Response Subclass
    
    You can also use a subclass of `Response` in the type annotation:
    
    ```Python hl_lines="8-9"
    {!> ../../../docs_src/response_model/tutorial003_03.py!}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top