Skip to content

Instantly share code, notes, and snippets.

@wake
Last active May 1, 2018 01:42
Show Gist options
  • Save wake/d8c5989e11bb3291f5295ee0a3f12784 to your computer and use it in GitHub Desktop.
Save wake/d8c5989e11bb3291f5295ee0a3f12784 to your computer and use it in GitHub Desktop.
Curl Purestudio.com.tw Result
sh-3.2# curl --silent --verbose http://www.purestudio.com.tw/blog/product/20180323/ --resolve www.purestudio.com.tw:80:124.150.132.74 --insecure
* Added www.purestudio.com.tw:80:124.150.132.74 to DNS cache
* Hostname www.purestudio.com.tw was found in DNS cache
* Trying 124.150.132.74...
* TCP_NODELAY set
* Connected to www.purestudio.com.tw (124.150.132.74) port 80 (#0)
> GET /blog/product/20180323/ HTTP/1.1
> Host: www.purestudio.com.tw
> User-Agent: curl/7.54.0
> Accept: */*
>
* Empty reply from server
* Connection #0 to host www.purestudio.com.tw left intact
sh-3.2# curl --silent --verbose http://www.purestudio.com.tw/blog/product/20180323/ --resolve www.purestudio.com.tw:80:124.150.132.74 --insecure
* Added www.purestudio.com.tw:80:124.150.132.74 to DNS cache
* Hostname www.purestudio.com.tw was found in DNS cache
* Trying 124.150.132.74...
* TCP_NODELAY set
* Connected to www.purestudio.com.tw (124.150.132.74) port 80 (#0)
> GET /blog/product/20180323/ HTTP/1.1
> Host: www.purestudio.com.tw
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Wed, 25 Apr 2018 18:00:58 GMT
< Server: Apache
< X-Powered-By: PHP/5.6.31
< Vary: Accept-Encoding,Cookie,User-Agent
< Cache-Control: max-age=3, must-revalidate
< X-Powered-By: PleskLin
< Transfer-Encoding: chunked
< Content-Type: text/html; charset=UTF-8
<
<!DOCTYPE html>
<html class="no-js" lang="zh-TW">
<!-- head -->
<head>
<!-- 下略 -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment