Falcon v1.0.0 Documentation
field names in URI templates restricted to certain characters? Field names are restricted to the ASCII characters in the set [a-zA-Z_]. Using a restricted set of characters allows the framework to make stream will be left at EOF. Note The character encoding for fields, before percent-encoding non-ASCII bytes, is assumed to be UTF-8. The special _charset_ field is ignored if present. Falcon expects destination of the link (default None). If the title includes non-ASCII characters, you will need to use title_star instead, or provide both a US-ASCII version using title and a Unicode version using title_star0 码力 | 312 页 | 368.58 KB | 1 年前3Falcon v3.0.0-b1 Documentation
# Create a JSON representation of the resource resp.text = json.dumps(doc, ensure_ascii=False) # The following line can be omitted because 200 is the default # status returned not retained by the framework. Note The character encoding for fields, before percent-encoding non-ASCII bytes, is assumed to be UTF-8. The special _charset_ field is ignored if present. Falcon expects URI template: app.add_route('/{some_field:mc}', some_resource) Converter names may only contain ASCII letters, digits, and underscores, and must start with either a letter or an underscore. Warning Converter0 码力 | 1028 页 | 725.86 KB | 1 年前3Falcon v3.0.0 Documentation
# Create a JSON representation of the resource resp.text = json.dumps(doc, ensure_ascii=False) # The following line can be omitted because 200 is the default # status returned not retained by the framework. Note The character encoding for fields, before percent-encoding non-ASCII bytes, is assumed to be UTF-8. The special _charset_ field is ignored if present. Falcon expects URI template: app.add_route('/{some_field:mc}', some_resource) Converter names may only contain ASCII letters, digits, and underscores, and must start with either a letter or an underscore. Warning Converter0 码力 | 1055 页 | 739.30 KB | 1 年前3Falcon v3.0.1 Documentation
# Create a JSON representation of the resource resp.text = json.dumps(doc, ensure_ascii=False) # The following line can be omitted because 200 is the default # status returned not retained by the framework. Note The character encoding for fields, before percent-encoding non-ASCII bytes, is assumed to be UTF-8. The special _charset_ field is ignored if present. Falcon expects URI template: app.add_route('/{some_field:mc}', some_resource) Converter names may only contain ASCII letters, digits, and underscores, and must start with either a letter or an underscore. Warning Converter0 码力 | 1058 页 | 741.59 KB | 1 年前3Falcon v3.0.0-b2 Documentation
# Create a JSON representation of the resource resp.text = json.dumps(doc, ensure_ascii=False) # The following line can be omitted because 200 is the default # status returned not retained by the framework. Note The character encoding for fields, before percent-encoding non-ASCII bytes, is assumed to be UTF-8. The special _charset_ field is ignored if present. Falcon expects URI template: app.add_route('/{some_field:mc}', some_resource) Converter names may only contain ASCII letters, digits, and underscores, and must start with either a letter or an underscore. Warning Converter0 码力 | 1041 页 | 730.21 KB | 1 年前3Falcon v1.0.0 Documentation
field names in URI templates restricted to certain characters? Field names are restricted to the ASCII characters in the set [a-zA-Z_]. Using a restricted set of characters allows the framework to make stream will be left at EOF. Note The character encoding for fields, before percent-encoding non-ASCII bytes, is assumed to be UTF-8. The special _charset_ field is ignored if present. Falcon expects destination of the link (default None). If the title includes non-ASCII characters, you will need to use title_star instead, or provide both a US-ASCII version using title and a Unicode version using title_star0 码力 | 249 页 | 406.22 KB | 1 年前3Falcon v0.2.0 Documentation
field names in URI templates restricted to certain characters? Field names are restricted to the ASCII characters in the set [a-zA-Z_]. Using a restricted set of characters allows the framework to make will be left at EOF. Note also that the character encoding for fields, before percent-encoding non-ASCII bytes, is assumed to be UTF-8. The special _charset_ field is ignored if present. Falcon expects destination of the link (default None). If the title includes non-ASCII characters, you will need to use title_star instead, or provide both a US-ASCII version using title and a Unicode version using title_star0 码力 | 188 页 | 358.44 KB | 1 年前3Falcon v0.3.0.1 Documentation
field names in URI templates restricted to certain characters? Field names are restricted to the ASCII characters in the set [a-zA-Z_]. Using a restricted set of characters allows the framework to make will be left at EOF. Note also that the character encoding for fields, before percent-encoding non-ASCII bytes, is assumed to be UTF-8. The special _charset_ field is ignored if present. Falcon expects destination of the link (default None). If the title includes non-ASCII characters, you will need to use title_star instead, or provide both a US-ASCII version using title and a Unicode version using title_star0 码力 | 126 页 | 345.09 KB | 1 年前3Falcon v3.1.1 Documentation
# Create a JSON representation of the resource resp.text = json.dumps(doc, ensure_ascii=False) # The following line can be omitted because 200 is the default # status returned bytestring, disallowing # non-ASCII characters, assuming they are correctly percent- coded. if raw_path: req.path = raw_path.decode('ascii') class URLResource: async def not retained by the framework. Note The character encoding for fields, before percent-encoding non-ASCII bytes, is assumed to be UTF-8. The special _charset_ field is ignored if present. Falcon expects0 码力 | 540 页 | 476.60 KB | 1 年前3Falcon v3.1.1-rc1 Documentation
# Create a JSON representation of the resource resp.text = json.dumps(doc, ensure_ascii=False) # The following line can be omitted because 200 is the default # status returned bytestring, disallowing # non-ASCII characters, assuming they are correctly percent- coded. if raw_path: req.path = raw_path.decode('ascii') class URLResource: async def not retained by the framework. Note The character encoding for fields, before percent-encoding non-ASCII bytes, is assumed to be UTF-8. The special _charset_ field is ignored if present. Falcon expects0 码力 | 540 页 | 476.61 KB | 1 年前3
共 439 条
- 1
- 2
- 3
- 4
- 5
- 6
- 44