![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Web学习
Xie_Yuchen
华中科技大学
展开
-
web基本概念1
无状态的HTTP协议 HTTP支持认证功能,根据实现方式可以分为:Basic,NTIM与Digest认证 Basic 浏览器请求一个需要认证的认证的网页,服务器向浏览器返回“401 Unauthorized”状态码,浏览器收到状态码之后会显示用户名密码界面,然后将输入的信息加入到请求信息中再次发送。 Basic在完成认证之后,再下一次发送请求的时候自动附带authorized的信息头。 看似去认...原创 2019-09-20 14:47:22 · 335 阅读 · 0 评论 -
基本名词概念复习
Cookie a small piece of data sent from a website and stored on the user’s computer by the user’s web browser while the user is browsing. Cookies were designed to be a reliable mechanism for websites t...原创 2019-09-20 16:31:46 · 100 阅读 · 0 评论 -
HTTP的指令消息
指令消息 指令消息开始于一条请求行,包括请求类型,URL和HTTP版本 GET http:///www.baidu.com HTTP/1.1 get是一个请求类型,用来请求被URL所指定的文档,协议版本是HTTP/1.1 URL的格式: method://host[:port][/path] method 方法指明用来获得文档的文件传输协议,默认为HTTP,也可以支持其他文件传输协议。部...原创 2019-09-22 15:42:02 · 1379 阅读 · 0 评论 -
robots.txt的相关知识
什么是robots? robots是网站跟爬虫间的协议,用简单直接的txt格式文本方式告诉对应的爬虫被允许的权限,也就是说robots.txt是搜索引擎中访问网站的时候要查看的第一个文件。当一个搜索蜘蛛访问一个站点时,它会首先检查该站点根目录下是否存在robots.txt,如果存在,搜索机器人就会按照该文件中的内容来确定访问的范围;如果该文件不存在,所有的搜索蜘蛛将能够访问网站上所有没有被口令保护...原创 2019-09-22 16:01:34 · 94 阅读 · 0 评论 -
关于Cookie
Cookie a small piece of data sent from a website and stored on the user’s computer by the user’s web browser while the user is browsing. Cookies were designed to be a reliable mechanism for websites t...原创 2019-09-22 16:40:25 · 68 阅读 · 0 评论