hhstore / blog

My Tech Blog: about Mojo / Rust / Golang / Python / Kotlin / Flutter / VueJS / Blockchain etc.
https://github.com/hhstore/blog/issues
296 stars 24 forks source link

Github - short url: git.io #179

Open hhstore opened 4 years ago

hhstore commented 4 years ago

related:

hhstore commented 4 years ago

github 默认短链接:

使用场景:

用例:


curl -i https://git.io \
    -F url="https://github.com/hhstore/blog/issues" \
    -F "code=hhblog"

HTTP/1.0 200 Connection established

HTTP/1.1 100 Continue

HTTP/1.1 201 Created
Server: Cowboy
Connection: keep-alive
Date: Sat, 21 Dec 2019 12:50:58 GMT
Status: 201 Created
Content-Type: text/html;charset=utf-8
Location: https://git.io/hhblog
Content-Length: 38
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Runtime: 0.320827
X-Node: 9bfc6e5e-7ff2-4a2a-9ec7-55efee63735e
X-Revision: 392798d237fc1aa5cd55cada10d2945773e741a8
Strict-Transport-Security: max-age=31536000; includeSubDomains
Via: 1.1 vegur

https://github.com/hhstore/blog/issues%

ref: