domingo, novembro 06, 2016

using curl to make small http request and test internet connection

Getting only response header from HTTP POST using curl - Stack Overflow

curl -s -D -

$ curl -s -D -
HTTP/1.1 200 OK
Date: Mon, 07 Nov 2016 01:32:53 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=ddab62e1e52362646b14ae860e4fda95a1478482373; expires=Tue, 07-Nov-17 01:32:53 GMT; path=/;; HttpOnly
X-Powered-By: PHP/5.4.16
X-Varnish: 262655
Age: 0
Via: 1.1 varnish-v4
Accept-Ranges: bytes
Server: cloudflare-nginx
CF-RAY: 2fdd08b123fc07bb-MIA

using proxy server

curl -v -I -x

Nenhum comentário: