zoukankan      html  css  js  c++  java
  • 客户端及服务端_网页访问

    (base) localhost:~ ligaijiang$ python --version
    Python 3.7.0
    (base) localhost:~ ligaijiang$ python3 --version
    Python 3.7.1
    (base) localhost:~ ligaijiang$ cd /Users/ligaijiang/FullStackDeveloper/html
    (base) localhost:html ligaijiang$ ls
    This is my first HTML.html    white hat.jpg
    style.css
    (base) localhost:html ligaijiang$ python3 -m http.server 9999    #架构第一台服务器
    #     打开网址输入:http://localhost:9999
    Serving HTTP on 0.0.0.0 port 9999 (http://0.0.0.0:9999/) ...
    127.0.0.1 - - [07/Apr/2020 16:34:00] "GET / HTTP/1.1" 200 -
    127.0.0.1 - - [07/Apr/2020 16:34:00] code 404, message File not found
    127.0.0.1 - - [07/Apr/2020 16:34:00] "GET /favicon.ico HTTP/1.1" 404 -
    127.0.0.1 - - [07/Apr/2020 16:34:26] "GET /This%20is%20my%20first%20HTML.html HTTP/1.1" 200 -
    127.0.0.1 - - [07/Apr/2020 16:34:26] "GET /style.css HTTP/1.1" 200 -
    127.0.0.1 - - [07/Apr/2020 16:34:26] "GET /white%20hat.jpg HTTP/1.1" 200 -
    127.0.0.1 - - [07/Apr/2020 16:35:50] "GET /This%20is%20my%20first%20HTML.html HTTP/1.1" 200 -
    127.0.0.1 - - [07/Apr/2020 16:36:17] "GET /This%20is%20my%20first%20HTML.html HTTP/1.1" 200 -
    127.0.0.1 - - [07/Apr/2020 16:36:32] "GET / HTTP/1.1" 200 -
    127.0.0.1 - - [07/Apr/2020 16:37:03] "GET / HTTP/1.1" 200 -

    网页访问显示:

  • 相关阅读:
    20210805-接口测试实战(持续更新中···)
    2021-07-06:关于自动化测试
    学习记录-更新时间-2021-04-09
    知识点@解决端口被占用的问题
    PS学习笔记
    JS去掉数组中重复的数
    验证码倒计时
    统计数组中出现最多的字母及次数
    验证码倒计时js
    小兔鲜css
  • 原文地址:https://www.cnblogs.com/jpr-ok/p/12660566.html
Copyright © 2011-2022 走看看