mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-11-13 09:16:10 +08:00
修改部分描述,添加必要的标点符号,补充代码超链接 (#804)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
你肯定知道有些浏览器中的地址(称为 URL)非常长且/或复杂,在网上有一些将他们转换成简短 URL 来使用的服务。我们的项目与此类似:它是具有 2 个功能的 *web 服务*(web service):
|
||||
|
||||
## 添加 (Add)
|
||||
## 添加(Add)
|
||||
|
||||
给定一个较长的 URL,会将其转换成较短的版本,例如:
|
||||
```
|
||||
@@ -11,7 +11,7 @@ http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=tokyo&sll=37.0625,-9
|
||||
- (A) 转变为:`http://goto/UrcGq`
|
||||
- (B) 并保存这对数据
|
||||
|
||||
## 重定向 (Redirect)
|
||||
## 重定向(Redirect)
|
||||
|
||||
短网址被请求时,会把用户重定向到原始的长 URL。因此如果你在浏览器输入网址 (B),会被重定向到页面 (A)。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user