Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 145 for encodeUrl (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/ko/docs/tutorial/testing.md

    /// info | 정보
    
    `TestClient`는 Pydantic 모델이 아니라 JSON으로 변환될 수 있는 데이터를 받습니다.
    
    만약 테스트 중 Pydantic 모델을 가지고 있고 테스트 중에 애플리케이션으로 해당 데이터를 보내고 싶다면, [JSON 호환 인코더](encoder.md)에 설명되어 있는 `jsonable_encoder`를 사용할 수 있습니다.
    
    ///
    
    ## 실행하기 { #run-it }
    
    그 후에는 `pytest`를 설치하기만 하면 됩니다.
    
    [가상 환경](../virtual-environments.md)을 만들고, 활성화 시킨 뒤에 설치하세요. 예시:
    
    <div class="termy">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            // Test NTLM Type 1 message handling
            byte[] type1Message = new byte[] { 0x4E, 0x54, 0x4C, 0x4D, 0x53, 0x53, 0x50, 0x00, 0x01, 0x00, 0x00, 0x00 };
            String authHeader = "NTLM " + new String(org.bouncycastle.util.encoders.Base64.encode(type1Message));
    
            when(request.getHeader("Authorization")).thenReturn(authHeader);
            when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(null);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  3. fastapi/openapi/docs.py

    import json
    from typing import Annotated, Any
    
    from annotated_doc import Doc
    from fastapi.encoders import jsonable_encoder
    from starlette.responses import HTMLResponse
    
    
    def _html_safe_json(value: Any) -> str:
        """Serialize a value to JSON with HTML special characters escaped.
    
        This prevents injection when the JSON is embedded inside a <script> tag.
        """
        return (
            json.dumps(value)
            .replace("<", "\\u003c")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 24 09:28:10 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt

      private const val SKEW = 38
      private const val DAMP = 700
      private const val INITIAL_BIAS = 72
      private const val INITIAL_N = 0x80
    
      /**
       * Returns null if any label is oversized so much that the encoder cannot encode it without
       * integer overflow. This will not return null for labels that fit within the DNS size
       * limits.
       */
      fun encode(string: String): String? {
        var pos = 0
        val limit = string.length
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  5. docs/ja/docs/tutorial/stream-json-lines.md

    {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[27:30] hl[28] *}
    
    ### 戻り値の型なし { #no-return-type }
    
    戻り値の型を省略することもできます。FastAPI はその場合、データを JSON にシリアライズ可能な形に変換するために [`jsonable_encoder`](./encoder.md) を使い、JSON Lines として送信します。
    
    {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[33:36] hl[34] *}
    
    ## Server-Sent Events (SSE) { #server-sent-events-sse }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:55:22 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  6. docs/zh/docs/_llm-test.md

    * the cloud provider
    * the cloud service
    
    * the development
    * the development stages
    
    * the dict
    * the dictionary
    * the enumeration
    * the enum
    * the enum member
    
    * the encoder
    * the decoder
    * to encode
    * to decode
    
    * the exception
    * to raise
    
    * the expression
    * the statement
    
    * the frontend
    * the backend
    
    * the GitHub discussion
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  7. src/main/java/jcifs/http/NtlmHttpFilter.java

     */
    
    package jcifs.http;
    
    import java.io.IOException;
    import java.net.UnknownHostException;
    import java.util.Enumeration;
    import java.util.Properties;
    
    import org.bouncycastle.util.encoders.Base64;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jakarta.servlet.Filter;
    import jakarta.servlet.FilterChain;
    import jakarta.servlet.FilterConfig;
    import jakarta.servlet.ServletException;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  8. docs/zh/docs/advanced/custom-response.md

    ///
    
    ## JSON 响应 { #json-responses }
    
    默认情况下 FastAPI 返回 JSON 响应。
    
    如果你声明了一个[响应模型](../tutorial/response-model.md),FastAPI 会使用 Pydantic 将数据序列化为 JSON。
    
    如果你没有声明响应模型,FastAPI 会使用 [JSON 兼容编码器](../tutorial/encoder.md) 中解释的 `jsonable_encoder`,并把结果放进一个 `JSONResponse`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  9. docs/ko/docs/advanced/custom-response.md

    ///
    
    ## JSON 응답 { #json-responses }
    
    기본적으로 FastAPI는 JSON 응답을 반환합니다.
    
    [응답 모델](../tutorial/response-model.md)을 선언하면 FastAPI는 Pydantic을 사용해 데이터를 JSON으로 직렬화합니다.
    
    응답 모델을 선언하지 않으면 FastAPI는 [JSON 호환 가능 인코더](../tutorial/encoder.md)에서 설명한 `jsonable_encoder`를 사용해 데이터를 변환한 뒤 `JSONResponse`에 넣습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  10. docs/ru/docs/advanced/custom-response.md

    Если вы не объявите модель ответа, FastAPI использует `jsonable_encoder`, описанный в разделе [JSON-совместимый энкодер](../tutorial/encoder.md), и поместит результат в `JSONResponse`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 17.6K bytes
    - Click Count (0)
Back to Top