• http协议


    常见状态码

    200        ok

    301        永久跳转

    302        临时跳转

    307        内部跳转

    304        走本地缓存

    400        客户端错误

    401        认证错误

    403        找不到主页,权限不足

    404        找不到主页

    500        内部错误

    502        找不到后端主机

    503        服务器过载

    504        超时

     

    http请求

    Request URL: http://10.0.0.7/            #请求的URl地址

    Request Method: GET                    #请求方法

    Status Code: 200 OK                    #状态码

    Remote Address: 10.0.0.7:80            #请求的主机的地址和端口

    authority: www.xuliangwei.com            #认证的域名

    :method: GET                        #请求方法

    :path: /                        #请求的路径

    :scheme: https                    #请求的协议 http https

     

    Accept: text/html                        #请求的类型

    Accept-Encoding: gzip, deflate                #压缩

    Accept-Language: zh-CN,zh;q=0.9                #语言

    Cache-Control: no-cache                    #缓存

    Connection: keep-alive                    #保持连接 长连接

    Host: 10.0.0.7                        #请求域名

    Pragma: no-cache                        #没有缓存

    User-Agent: Chrome/65.0.3325.181             #用户浏览器

     

    响应的协议

    Accept-Ranges: bytes                    #大小

    Connection: Keep-Alive                    #保持连接 场链接tcp

    Content-Length: 2633                    #内容长度

    Content-Type: text/html; charset=UTF-8            #返回内容的类型,字符集

    Date: Thu, 10 Jan 2019 01:52:01 GMT            #返回服务器时间 GMT +8小时

    ETag: "a49-56b5ce607fe00"                    #缓存

    Keep-Alive: timeout=5, max=98                #长连接的超时时间

    Last-Modified: Fri, 04 May 2018 08:13:44 GMT        #缓存

    Server: Apache/2.4.6 (CentOS) PHP/5.4.16        #使用的web软件版本

     

    pv:request请求

    uv:代表一个设备

    IP:独立的ip

  • 相关阅读:
    http服务读取配置文件,交叉编译
    etcd增删改查
    初始
    20141017--类型String类
    20141017--异常语句try-catch
    20141017--循环语句whlie,do
    20141017--循环语句for 穷举
    20141016--for 菱形
    20141016--for 兔子
    20141015--for语句1
  • 原文地址:https://www.cnblogs.com/yexiuer/p/10804392.html
Copyright © 2020-2023  润新知