Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 748 for encoded (0.19 sec)

  1. docs/em/docs/advanced/response-directly.md

    # ๐Ÿ“จ ๐Ÿ“จ ๐Ÿ”—
    
    ๐Ÿ•โ” ๐Ÿ‘† โœ **FastAPI** *โžก ๐Ÿ› ๏ธ* ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ›Ž ๐Ÿ“จ ๐Ÿ™† ๐Ÿ“Š โšช๏ธโžก๏ธ โšซ๏ธ: `dict`, `list`, Pydantic ๐Ÿท, ๐Ÿ’ฝ ๐Ÿท, โ™’๏ธ.
    
    ๐Ÿ”ข, **FastAPI** ๐Ÿ”œ ๐Ÿ” ๐Ÿ—œ ๐Ÿ‘ˆ ๐Ÿ“จ ๐Ÿ’ฒ ๐ŸŽป โš™๏ธ `jsonable_encoder` ๐Ÿ”ฌ [๐ŸŽป ๐Ÿ”— ๐Ÿ”ข](../tutorial/encoder.md){.internal-link target=_blank}.
    
    โคด๏ธ, โ›… ๐ŸŽ‘, โšซ๏ธ ๐Ÿ”œ ๐Ÿšฎ ๐Ÿ‘ˆ ๐ŸŽป-๐Ÿ”— ๐Ÿ’ฝ (โœ… `dict`) ๐Ÿ”˜ `JSONResponse` ๐Ÿ‘ˆ ๐Ÿ”œ โš™๏ธ ๐Ÿ“จ ๐Ÿ“จ ๐Ÿ‘ฉโ€๐Ÿ’ป.
    
    โœ‹๏ธ ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ“จ `JSONResponse` ๐Ÿ”— โšช๏ธโžก๏ธ ๐Ÿ‘† *โžก ๐Ÿ› ๏ธ*.
    
    โšซ๏ธ ๐Ÿ’ช โš , ๐Ÿ–ผ, ๐Ÿ“จ ๐Ÿ›ƒ ๐ŸŽš โš–๏ธ ๐Ÿช.
    
    ## ๐Ÿ“จ `Response`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. docs/zh/docs/how-to/general.md

    ๅœจๆ–‡ๆกฃ็•Œ้ขไธญๆ˜พ็คบๅผƒ็”จ็š„**่ทฏๅพ„ๆ“ไฝœ**๏ผŒ่ฏท้˜…่ฏป [ๆ•™็จ‹ - ่ทฏๅพ„ๆ“ไฝœ้…็ฝฎ - ๅผƒ็”จ](../tutorial/path-operation-configuration.md#deprecate-a-path-operation){.internal-link target=_blank} ๆ–‡ๆกฃใ€‚
    
    ## ๅฐ†ไปปไฝ•ๆ•ฐๆฎ่ฝฌๆขไธบ JSON ๅ…ผๅฎนๆ ผๅผ
    
    ่ฆๅฐ†ไปปไฝ•ๆ•ฐๆฎ่ฝฌๆขไธบ JSON ๅ…ผๅฎนๆ ผๅผ๏ผŒ่ฏท้˜…่ฏป [ๆ•™็จ‹ - JSON ๅ…ผๅฎน็ผ–็ ๅ™จ](../tutorial/encoder.md){.internal-link target=_blank} ๆ–‡ๆกฃใ€‚
    
    ## OpenAPI ๅ…ƒๆ•ฐๆฎ - ๆ–‡ๆกฃ
    
    ่ฆๆทปๅŠ  OpenAPI ็š„ๅ…ƒๆ•ฐๆฎ๏ผŒๅŒ…ๆ‹ฌ่ฎธๅฏ่ฏใ€็‰ˆๆœฌใ€่”็ณปๆ–นๅผ็ญ‰๏ผŒ่ฏท้˜…่ฏป [ๆ•™็จ‹ - ๅ…ƒๆ•ฐๆฎๅ’Œๆ–‡ๆกฃ URL](../tutorial/metadata.md){.internal-link target=_blank} ๆ–‡ๆกฃใ€‚
    
    ## OpenAPI ่‡ชๅฎšไน‰ URL
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Apr 22 23:41:09 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

    import java.net.MalformedURLException;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.SmbPipeResource;
    import jcifs.smb.SmbNamedPipe;
    import jcifs.smb.SmbPipeHandleInternal;
    import jcifs.util.Encdec;
    
    
    /**
     *
     */
    public class DcerpcPipeHandle extends DcerpcHandle {
    
        /* This 0x20000 bit is going to get chopped! */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jan 26 11:51:07 UTC 2020
    - 5.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/net/URLUtil.java

         * @return <code>application/x-www-form-urlencoded</code>ใงใ‚จใƒณใ‚ณใƒผใƒ‰ๆ–‡ๅญ—ๅˆ—
         */
        public static String encode(final String s, final String enc) {
            assertArgumentNotEmpty("s", s);
            assertArgumentNotEmpty("enc", enc);
    
            try {
                return URLEncoder.encode(s, enc);
            } catch (final UnsupportedEncodingException e) {
                throw new IORuntimeException(e);
            }
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. docs_src/body_updates/tutorial001_py310.py

    from fastapi import FastAPI
    from fastapi.encoders import jsonable_encoder
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str | None = None
        description: str | None = None
        price: float | None = None
        tax: float = 10.5
        tags: list[str] = []
    
    
    items = {
        "foo": {"name": "Foo", "price": 50.2},
        "bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 856 bytes
    - Viewed (0)
  6. cmd/api-utils.go

    			t[j] = '%'
    			t[j+1] = "0123456789ABCDEF"[c>>4]
    			t[j+2] = "0123456789ABCDEF"[c&15]
    			j += 3
    		default:
    			t[j] = s[i]
    			j++
    		}
    	}
    	return string(t)
    }
    
    // s3EncodeName encodes string in response when encodingType is specified in AWS S3 requests.
    func s3EncodeName(name, encodingType string) string {
    	if strings.ToLower(encodingType) == "url" {
    		return s3URLEncode(name)
    	}
    	return name
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 04 18:05:56 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

         * all but the first smb of the chaain do not have a header
         * and therefore we do not want to writeHeaderWireFormat. We
         * just recursivly call writeAndXWireFormat.
         */ 
    
        int encode( byte[] dst, int dstIndex ) {
            int start = headerStart = dstIndex;
    
            dstIndex += writeHeaderWireFormat( dst, dstIndex );
            dstIndex += writeAndXWireFormat( dst, dstIndex );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_body/test_tutorial001.py

                            "error": "Expecting property name enclosed in double quotes"
                        },
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", 1],
                        "msg": "Expecting property name enclosed in double quotes: line 1 column 2 (char 1)",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_body/test_tutorial001_py310.py

                            "error": "Expecting property name enclosed in double quotes"
                        },
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", 1],
                        "msg": "Expecting property name enclosed in double quotes: line 1 column 2 (char 1)",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 15K bytes
    - Viewed (1)
  10. docs_src/security/tutorial004.py

        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
            expire = datetime.now(timezone.utc) + timedelta(minutes=15)
        to_encode.update({"exp": expire})
        encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM)
        return encoded_jwt
    
    
    async def get_current_user(token: str = Depends(oauth2_scheme)):
        credentials_exception = HTTPException(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top