Falcon v1.1.0 Documentation
Convert to an instance of falcon.HTTPError raise falcon.HTTPError(falcon.HTTP_792) add_route(uri_template, resource, *args, **kwargs) Associates a templatized URI path with a resource. Note: The following field expressions: /repos/{org}/{repo}/compare/{usr0}:{branch0}...{usr1}:{branch1} Parameters • uri_template (str) – A templatized URI. Care must be taken to ensure the template does not mask any sink patterns query_string str – Query string portion of the request URL, without the preceding ‘?’ character. uri_template str – The template for the route that was matched for this request. May be None if the request0 码力 | 113 页 | 426.53 KB | 1 年前3Falcon v1.2.0 Documentation
Convert to an instance of falcon.HTTPError raise falcon.HTTPError(falcon.HTTP_792) add_route(uri_template, resource, *args, **kwargs) Associates a templatized URI path with a resource. Note: The following to argument names in responder methods, they must be valid Python identifiers. Parameters • uri_template (str) – A templatized URI. Care must be taken to ensure the template does not mask any sink patterns query_string str – Query string portion of the request URL, without the preceding ‘?’ character. uri_template str – The template for the route that was matched for this request. May be None if the request0 码力 | 134 页 | 498.46 KB | 1 年前3Falcon v3.0.0-b2 Documentation
had been appended to the original middleware list passed to the class initializer. add_route(uri_template, resource, **kwargs) Associate a templatized URI path with a resource. Falcon routes incoming Chapter 5. Documentation Falcon Documentation, Release 3.0.0b2 (See also: Routing) Parameters • uri_template (str) – A templatized URI. Care must be taken to ensure the template does not mask any sink patterns are registered. (See also: add_sink()) Warning: If strip_url_path_trailing_slash is enabled, uri_template should be provided without a trailing slash. (See also: How does Falcon handle a trailing slash0 码力 | 340 页 | 1.15 MB | 1 年前3Falcon v3.0.0 Documentation
had been appended to the original middleware list passed to the class initializer. add_route(uri_template, resource, **kwargs) Associate a templatized URI path with a resource. Falcon routes incoming behavior, pass a custom router object to the App initializer. (See also: Routing) Parameters • uri_template (str) – A templatized URI. Care must be taken to ensure the template does not mask any sink patterns are registered. (See also: add_sink()) Warning: If strip_url_path_trailing_slash is enabled, uri_template should be provided without a trailing slash. (See also: How does Falcon handle a trailing slash0 码力 | 344 页 | 1.16 MB | 1 年前3Falcon v3.0.1 Documentation
had been appended to the original middleware list passed to the class initializer. add_route(uri_template, resource, **kwargs) Associate a templatized URI path with a resource. Falcon routes incoming behavior, pass a custom router object to the App initializer. (See also: Routing) Parameters • uri_template (str) – A templatized URI. Care must be taken to ensure the template does not mask any sink patterns are registered. (See also: add_sink()) Warning: If strip_url_path_trailing_slash is enabled, uri_template should be provided without a trailing slash. (See also: How does Falcon handle a trailing slash0 码力 | 344 页 | 1.16 MB | 1 年前3Falcon v3.0.0-b1 Documentation
had been appended to the original middleware list passed to the class initializer. add_route(uri_template, resource, **kwargs) Associate a templatized URI path with a resource. Falcon routes incoming Framework Reference 99 Falcon Documentation, Release 3.0.0b1 (See also: Routing) Parameters • uri_template (str) – A templatized URI. Care must be taken to ensure the template does not mask any sink patterns are registered. (See also: add_sink()) Warning: If strip_url_path_trailing_slash is enabled, uri_template should be provided without a trailing slash. (See also: How does Falcon handle a trailing slash0 码力 | 338 页 | 1.14 MB | 1 年前3Falcon v2.0.0 Documentation
types is specified instead of a single type, the handler must be explicitly specified. add_route(uri_template, resource, **kwargs) Associate a templatized URI path with a resource. Falcon routes incoming behavior, pass a custom router object to the API initializer. (See also: Routing) Parameters • uri_template (str) – A templatized URI. Care must be taken to ensure the template does not mask any sink patterns query_string Query string portion of the request URI, without the preceding ‘?’ character. Type str uri_template The template for the route that was matched for this request. May be None if the request has0 码力 | 184 页 | 671.87 KB | 1 年前3Falcon v3.1.1-b3 Documentation
had been appended to the original middleware list passed to the class initializer. add_route(uri_template, resource, **kwargs) Associate a templatized URI path with a resource. Falcon routes incoming behavior, pass a custom router object to the App initializer. (See also: Routing) Parameters • uri_template (str) – A templatized URI. Care must be taken to ensure the template does not mask any sink patterns are registered. (See also: add_sink()) Warning: If strip_url_path_trailing_slash is enabled, uri_template should be provided without a trailing slash. (See also: How does Falcon handle a trailing slash0 码力 | 378 页 | 1.29 MB | 1 年前3Falcon v3.1.1-b1 Documentation
had been appended to the original middleware list passed to the class initializer. add_route(uri_template, resource, **kwargs) Associate a templatized URI path with a resource. Falcon routes incoming behavior, pass a custom router object to the App initializer. (See also: Routing) Parameters • uri_template (str) – A templatized URI. Care must be taken to ensure the template does not mask any sink patterns are registered. (See also: add_sink()) Warning: If strip_url_path_trailing_slash is enabled, uri_template should be provided without a trailing slash. (See also: How does Falcon handle a trailing slash0 码力 | 378 页 | 1.29 MB | 1 年前3Falcon v3.1.1-a Documentation
had been appended to the original middleware list passed to the class initializer. add_route(uri_template, resource, **kwargs) Associate a templatized URI path with a resource. Falcon routes incoming behavior, pass a custom router object to the App initializer. (See also: Routing) Parameters • uri_template (str) – A templatized URI. Care must be taken to ensure the template does not mask any sink patterns are registered. (See also: add_sink()) Warning: If strip_url_path_trailing_slash is enabled, uri_template should be provided without a trailing slash. (See also: How does Falcon handle a trailing slash0 码力 | 378 页 | 1.29 MB | 1 年前3
共 20 条
- 1
- 2