书栈网 · BookStack 本次搜索耗时 0.031 秒,为您找到 1864 个相关结果.
  • 快速上手

    快速上手 一个最小的应用 如果服务器不能启动怎么办 老版本的 Flask 非法导入名称 调试模式 HTML 转义 路由 变量规则 唯一的 URL / 重定向行为 URL 构建 HTTP 方法 静态文件 渲染模板 操作请求数据 本地环境 请求对象 文件上传 Cookies 重定向和错误 关于响应 JSON 格式的 API ...
  • Single-Page Applications

    Single-Page Applications Single-Page Applications Flask can be used to serve Single-Page Applications (SPA) by placing static files produced by your frontend framework in a subf...
  • Single-Page Applications

    Single-Page Applications Single-Page Applications Flask can be used to serve Single-Page Applications (SPA) by placing static files produced by your frontend framework in a subf...
  • Single-Page Applications

    Single-Page Applications Single-Page Applications Flask can be used to serve Single-Page Applications (SPA) by placing static files produced by your frontend framework in a sub...
  • 21.4 使用Web框架

    使用Web框架 小结 参考源码 使用Web框架 了解了WSGI框架,我们发现:其实一个Web App,就是写一个WSGI的处理函数,针对每个HTTP请求进行响应。 但是如何处理HTTP请求不是问题,问题是如何处理100个不同的URL。 每一个URL可以对应GET和POST请求,当然还有PUT、DELETE等请求,但是我们通常只考虑最常见的GE...
  • Intermediate Usage

    Intermediate Usage Project Structure Use With Blueprints Full Parameter Parsing Example Passing Constructor Parameters Into Resources Table Of Contents Related Topics This Pag...
  • 生成响应

    生成响应 生成响应 原来设计的 REST 服务器使用 Flask 的 jsonify 函数来生成响应。Flask-RESTful 会自动地处理转换成 JSON 数据格式,因此下面的代码需要替换: return jsonify ( { 'task' : make_public_task ( task ) } ) 现在需...
  • ASGI

    ASGI ASGI If you’d like to use an ASGI server you will need to utilise WSGI to ASGI middleware. The asgiref WsgiToAsgi adapter is recommended as it integrates with the event lo...
  • ASGI

    ASGI ASGI If you’d like to use an ASGI server you will need to utilise WSGI to ASGI middleware. The asgiref WsgiToAsgi adapter is recommended as it integrates with the event lo...
  • Building your service

    Building your service Overview Creating your service API Authentication Prerequisites Listing available plans Creating new instances Updating service instances Binding instan...