HTTP Response Header Lines

This section describes HTTP response header lines, which can be divided into 3 groups: general header lines, response header lines, and entity header lines.

HTTP/1.1 response header lines allow the server to pass additional information about the response which cannot be placed in the status line. Header lines can be divided into three groups:

1. General header lines: Information about the transmission of the entire response message:

   Cache-Control      
   Connection         
   Date               
   Pragma             
   Trailer            
   Transfer-Encoding  
   Upgrade            
   Via                
   Warning          

2. Response header lines: Information about the response:

   Accept-Ranges     
   Age               
   ETag              
   Location          
   Proxy-Authenticate
   Retry-After       
   Server            
   Vary              
   WWW-Authenticate

3. Entity header lines: Information about the data requested by the client:

   Allow              
   Content-Encoding   
   Content-Language   
   Content-Length     
   Content-Location   
   Content-MD5        
   Content-Range      
   Content-Type       
   Expires            
   Last-Modified      

Last update: 2012.

Table of Contents

 About This Book

 JSP (JavaServer Pages) Overview

 Tomcat 7 Installation on Windows Systems

 JSP Scripting Elements

 Java Servlet Introduction

 JSP Implicit Objects

 Syntax of JSP Pages and JSP Documents

 JSP Application Session

 Managing Cookies in JSP Pages

 JavaBean Objects and "useBean" Action Elements

Managing HTTP Response Header Lines

 What Is HTTP Response?

HTTP Response Header Lines

 Controlling Response Header Lines

 Viewing Response Header Lines

 Response Header Lines of Static Files

 Response Header Lines Controlled by "page" Directive

 Response Header Lines Controlled by response Object

 Accessing File System from JSP Pages

 Returning non-HTML Response Body

 Returning Attachments for Web Download

 Non-ASCII Characters Support in JSP Pages

 Performance of JSP Pages

 EL (Expression Language)

 Overview of JSTL (JSP Standard Tag Libraries)

 JSTL Core Library

 JSP Custom Tags

 JSP Java Tag Interface

 Custom Tag Attributes

 Multiple Tags Working Together

 File Upload Test Application

 Outdated Tutorials

 References

 PDF Printing Version