Notes for Computer Information Technology 160
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

dec10-class-overview.md 1.2KB

December 10 - Overview (Final Study)

Overview

Curl

$ curl http://www.example.com/index.html
# The will get contents of www.example.com/index.html and print it to stdout

$ curl --head http://www.example.com/index.html
# This will get the header of the request for www.example.com/index.html

HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: max-age=604800
Content-Type: text/html; charset=UTF-8
Date: Mon, 10 Dec 2018 21:20:45 GMT
Etag: "1541025663"
Expires: Mon, 17 Dec 2018 21:20:45 GMT
Last-Modified: Fri, 09 Aug 2013 23:54:35 GMT
Server: ECS (oxr/8314)
X-Cache: HIT
Content-Length: 1270

umask