Bittiger cs101 notebook 6 - web programming
Http and Chrome dev tools Http header Host: send to where, dns lookup
Referer: linked from where,
User-Agent: browser, os
Cache-Control:
static: can cache
non-static: cannot cache
Date: timestamp
Http request methods GET
HEAD
POST: post data
PUT: store data
DELETE
TRACE
OPTIONS
CONNECT
status 304: cached content
Restful api reasons: - single page application
- mobile and other services