知识点

作者: 马梦里 | 来源:发表于2018-01-27 23:08 被阅读0次

    一、client

    1. 网址
    2. ping baidu.con(域名):查 ip
    3. socket - client
    4. 测试函数:assert
    5. 请求
    6. 响应
    7. encode()、decode()

    二、server

    1. socket - server
    2. 文件读写
    3. 三个路由(文本、图片、404)
    4. get / post

    get 方法发送的数据:

    GET /?message=hello HTTP/1.1
    GET /?message=hello&author=gua HTTP/1.1
    GET /?message=&author=gua HTTP/1.1
    

    后面论坛的板块功能就是用 get 方法发送的数据
    request.get('board_id', 'all')

    三、server

    1. web 框架
    2. orm
    3. json(读写文件)
    4. 多线程

    相关文章

      网友评论

          本文标题:知识点

          本文链接:https://www.haomeiwen.com/subject/jvhnixtx.html