URL 리λλ μ μ λ§μ μν©μμ μ μ©ν μ μμ΅λλ€.
URL 리λλ μ μ΄ μ λλ‘ μλν©λλ€.
$ curl -v -L -s github.com
* Rebuilt URL to: github.com/
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 7890 (#0)
> GET http://github.com/ HTTP/1.1
> Host: github.com
> User-Agent: curl/7.54.0
> Accept: */*
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 301 Moved Permanently
< Connection: keep-alive
< Keep-Alive: timeout=4
< Location: https://github.com/
< Proxy-Connection: keep-alive
< Content-Length: 0
<
* Connection #0 to host 127.0.0.1 left intact
* Issue another request to this URL: 'https://github.com/'
* Found bundle for host github.com: 0x7fa1ec41ca00 [can pipeline]
* Hostname 127.0.0.1 was found in DNS cache
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 7890 (#1)
* Establish HTTP proxy tunnel to github.com:443
> CONNECT github.com:443 HTTP/1.1
> Host: github.com:443
> User-Agent: curl/7.54.0
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 200 Connection established
<
* Proxy replied OK to CONNECT request
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:<strong i="6">@STRENGTH</strong>
// TLDR
μ£μ‘ν©λλ€. URL 리λλ μ
μ μλ―Έλ₯Ό μλͺ» μ΄ν΄νμ΅λλ€.
λ΄κ° λ§νκ³ μΆμ κ²μ μλ§λ URL μ¬μμ±μΌ κ²μ
λλ€. google.cnμ google.comμΌλ‘ λ€μ μμ±νλ κ²κ³Ό κ°μ΅λλ€.
@glin93 "URL μ¬μμ±"μ λν λͺ κ°μ§ μ₯λ©΄μ μ 곡ν μ μμ΅λκΉ? ꡬνν κ°μΉκ° μλμ§ νμ€νμ§ μμ΅λλ€.
μ: yinxiang.com λ° evernote.com. μ± μ€ν μ΄ λ²μ μ μ¬μ©νλ €λ©΄ κ΅μ κ³μ λ§ μ¬μ©ν μ μμ΅λλ€.
λ λ€λ₯Έ μ₯λ©΄μ λ§μ μ ν리μΌμ΄μ μ΄ μμ€ν μ μ§μ μ€μ μ λ°λΌ μλΉμ€λ₯Ό μ ννλ€λ κ²μ λλ€. μ¬ν리μ²λΌ google.cnμ κ²μ μμ§μΌλ‘ μ¬μ©ν©λλ€. μ§μμ λ³κ²½νκ³ μΆμ§ μμ§λ§ μ¬μ ν google.com μλΉμ€κ° νμν κ²½μ° λ€μ μ°κΈ°κ° λ§€μ° μ μ©ν κ²μ λλ€.
무μλ³΄λ€ URL μ¬μμ±μ λλΆλΆμ μν©μμ κ·Έλ€μ§ μ€μνμ§ μμ μ μμ§λ§ μ¬μ©μκ° μνλ λλ‘ μλΉμ€λ₯Ό μ μ΄ν μ μλ νΈλ¦¬ν λ°©λ²μ μ 곡ν©λλ€.
@glin93 "URL μ¬μμ±"μ λν λͺ κ°μ§ μ₯λ©΄μ μ 곡ν μ μμ΅λκΉ? ꡬνν κ°μΉκ° μλμ§ νμ€νμ§ μμ΅λλ€.
μλ₯Ό λ€μ΄ maps.google.cnμ μ€λ¨λμμ΅λλ€.
κ°μ₯ μ μ©ν λκΈ
μλ₯Ό λ€μ΄ maps.google.cnμ μ€λ¨λμμ΅λλ€.