Secure HTTP Responses

Upon receiving a Secure HTTP request, the Web server will unwrap the HTTP request, generate its HTTP response, and use a similar technique to protect the response. The following example shows a possible reply to the previous Secure HTTP request:

Secure-HTTP/1.4 200 OK 
Content-Type: message/http 
Content-Privacy-Domain: CMS 

(content is encrypted) 

Here is the response shown in decrypted format for your convenience:

Secure-HTTP/1.4 200 OK 
Content-Type: message/http 
Content-Privacy-Domain: CMS 

HTTP/1.1 200 OK 
Date: Tue, 21 May 2002 12:34:56 GMT 
Security-Scheme: S-HTTP/1.4 
Content-Type: text/html 
Content-Length: 35 

<html> 
Secure HTTP Response 
</html> 

The HTTP message in this example is as follows:

 HTTP/1.1 200 OK Date: Tue, ...

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.