Tran Nghi's Site  - Make notes and share experience

Downloading an Entire Web Site with wget

If you ever need to download an entire Web site, perhaps for off-line viewing, wget can do the job—for example:   <pre lang=”shell”> $ wget \ –recursive \ –no-clobber \ –page-requisites \ –html-extension \ –convert-links \ –restrict-file-names=windows \ –domains website.org \ –no-parent \ www.website.org/tutorials/html/ </pre> This command downloads the Web site www.website.org/tutorials/html/. The options are: –recursive:…

Which CORS headers do you need to send an Authorization header?

In cross origin requests, the authorization header can be sent in two ways: either by the browser or specified along with the request. This article explains which CORS headers you need for each. Authorization header The Authorization HTTP header provides authentication information on a request. There are several types of authentication that use this header,…

Message