Skip to content

Commit

Permalink
Fix #46 HEAD response should not include a body.
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Thomas <markt@apache.org>
  • Loading branch information
markt-asf committed Jun 5, 2020
1 parent 23acc47 commit f5d76a4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions spec/src/main/asciidoc/ServerPages.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10118,9 +10118,11 @@ creating and/or using some other objects in the process . A JSP page may
also indicate how some events are to be handled. In JSP 3.0 only `init`
and `destroy` events are allowed events.

The JSP container must render a JSP page for
the HTTP methods GET, POST, and HEAD, with identical responses. The
behavior of the JSP container is undefined for other methods.
The JSP container must render a JSP page for the HTTP methods GET and POST
with identical responses.
The response for a HEAD request to a JSP page must be identical to the response
for a GET request minus the response body.
The behavior of the JSP container is undefined for other methods.

==== Protocol Seen by the Web Server

Expand Down

0 comments on commit f5d76a4

Please sign in to comment.