Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1411 - 1420 of 1,587 for message_0 (0.1 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

      val code: Int
        get() {
          val statusParts = status.split(' ', limit = 3)
          require(statusParts.size >= 2) { "Unexpected status: $status" }
          return statusParts[1].toInt()
        }
    
      val message: String
        get() {
          val statusParts = status.split(' ', limit = 3)
          require(statusParts.size >= 2) { "Unexpected status: $status" }
          return statusParts[2]
        }
    
      val headers: Headers
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/handling-errors.md

    Aber diese wird von `unicorn_exception_handler` gehandhabt.
    
    Sie erhalten also einen sauberen Error mit einem Statuscode `418` und dem JSON-Inhalt:
    
    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    ```
    
    /// note | "Technische Details"
    
    Sie können auch `from starlette.requests import Request` und `from starlette.responses import JSONResponse` verwenden.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/path-params.md

    返回给客户端之前,要把枚举元素转换为对应的值(本例中为字符串):
    
    ```Python hl_lines="18  21  23"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    客户端中的 JSON 响应如下:
    
    ```JSON
    {
      "model_name": "alexnet",
      "message": "Deep Learning FTW!"
    }
    ```
    
    ## 包含路径的路径参数
    
    假设*路径操作*的路径为 `/files/{file_path}`。
    
    但需要 `file_path` 中也包含*路径*,比如,`home/johndoe/myfile.txt`。
    
    此时,该文件的 URL 是这样的:`/files/home/johndoe/myfile.txt`。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/path-params.md

    ```Python hl_lines="18  21  23"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    In your client you will get a JSON response like:
    
    ```JSON
    {
      "model_name": "alexnet",
      "message": "Deep Learning FTW!"
    }
    ```
    
    ## Path parameters containing paths
    
    Let's say you have a *path operation* with a path `/files/{file_path}`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/first-steps.md

    ### Revísalo
    
    Abre tu navegador en <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>.
    
    Verás la respuesta en JSON:
    
    ```JSON
    {"message": "Hello World"}
    ```
    
    ### Documentación interactiva de la API
    
    Ahora dirígete a <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/path-params.md

    ```Python hl_lines="18  21  23"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    En tu cliente obtendrás una respuesta en JSON como:
    
    ```JSON
    {
      "model_name": "alexnet",
      "message": "Deep Learning FTW!"
    }
    ```
    
    ## Parámetros de path parameters que contienen paths
    
    Digamos que tienes una *operación de path* con un path `/files/{file_path}`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. docs/fr/docs/tutorial/first-steps.md

    ### Allez voir le résultat
    
    Ouvrez votre navigateur à l'adresse <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>.
    
    Vous obtiendrez cette réponse JSON :
    
    ```JSON
    {"message": "Hello World"}
    ```
    
    ### Documentation interactive de l'API
    
    Rendez-vous sur <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/first-steps.md

    ### Confira
    
    Abra o seu navegador em <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>.
    
    Você verá essa resposta em JSON:
    
    ```JSON
    {"message": "Hello World"}
    ```
    
    ### Documentação Interativa de APIs
    
    Agora vá para <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/handling-errors.md

    Essa exceção será manipulada, contudo, pelo `unicorn_exception_handler`.
    
    Dessa forma você receberá um erro "limpo", com o HTTP status code `418` e um JSON com o conteúdo:
    
    ```JSON
    {"message": "Oops! yolo did something. There goes a rainbow..."}
    ```
    
    /// note | "Detalhes Técnicos"
    
    Você também pode usar `from starlette.requests import Request` and `from starlette.responses import JSONResponse`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

      fun runningCallsCount(): Int = this.withLock { runningAsyncCalls.size + runningSyncCalls.size }
    
      @JvmName("-deprecated_executorService")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "executorService"),
        level = DeprecationLevel.ERROR,
      )
      fun executorService(): ExecutorService = executorService
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jun 20 14:10:53 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top