Skip to content

Commit c1a75b6

Browse files
committed
修复错误格式
1 parent ef94ff8 commit c1a75b6

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

docs/computer/protocol-http.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ HTTP协议工作于客户端-服务端架构为上。浏览器作为HTTP客户
3939

4040
### HTTP的URL(UniformResourceLocator)
4141
URL格式:
42-
> http://host[:port][abs_path]
42+
```
43+
http://host[:port][abs_path]
44+
```
4345

4446
`http`表示要通过HTTP协议来定位网络资源。
4547
`host`表示合法的Internet主机域名或IP地址(以点分十进制格式表示)。
@@ -52,6 +54,7 @@ URL格式:
5254
![HTTP 消息格式](https://cdn.jsdelivr.net/gh/niumoo/cdn-assets/2019/ae3fe2acba5a78462d247d03cccaa3ec.jpg)
5355

5456
先来看下HTTP的请求消息头:
57+
```
5558
- Accept: text/html,image/* 【浏览器告诉服务器,它支持的数据类型】
5659
- Accept-Charset: ISO-8859-1 【浏览器告诉服务器,它支持哪种字符集】
5760
- Accept-Encoding: gzip,compress 【浏览器告诉服务器,它支持的压缩格式】
@@ -63,7 +66,7 @@ URL格式:
6366
- Cookie【浏览器告诉服务器,带来的Cookie是什么】
6467
- Connection: close/Keep-Alive 【浏览器告诉服务器,请求完后是断开链接还是保持链接】
6568
- Date: Tue, 11 Jul 2000 18:23:51 GMT【浏览器告诉服务器,请求的时间
66-
69+
```
6770
使用Chrome请求网址进行观察:
6871
![](https://cdn.jsdelivr.net/gh/niumoo/cdn-assets/2019/6e442fc98cc8988ef631f7103f213b0b.jpg)
6972
Chrome请求信息

docs/jdk/java-src-arrayList-linkedList.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: [源码分析]ArrayList和LinkedList如何实现的?我看你还有机会!
2+
title: 源码分析ArrayList和LinkedList如何实现的?我看你还有机会!
33
date: 2020-08-12 08:01:01
44
url: jdk/src-arraylist-linkedlist
55
tags:

docs/jdk/java-src-concurrent-hashmap.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
title: 还不懂 ConcurrentHashMap ?这份源码分析了解一下
33
date: 2020-04-07 08:01:01
4-
url: jdk/concurrent_hashmap
4+
url: jdk/concurrent-hashmap
55
tags:
66
- HashMap
7-
- ConcurrentHashMap
7+
- ConcruuentHashMap
88
categories:
99
- Java 源码分析
1010
---

0 commit comments

Comments
 (0)