Secure HTTP Requests

A Secure HTTP request is basically a typical HTTP request that uses a special request method, Secure, and includes the original HTTP request in encrypted format as the content. Secure HTTP can be visualized as a wrapper for HTTP, as illustrated in Figure 20.1.

Figure 20.1. Secure HTTP is a wrapper for HTTP.

The content of the Secure HTTP message (the original HTTP message) is protected with a cryptographic protocol. This is usually CMS, Cryptographic Message Syntax. Consider the following HTTP request:

GET / HTTP/1.1 
Host: httphandbook.org 

An example Secure HTTP request that protects this request is as follows (content ...

Get HTTP Developer’s Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.