Skip to content
This repository was archived by the owner on Jun 6, 2018. It is now read-only.

Commit e6e1d27

Browse files
committed
Clarify the user responsiblity of 'Trailer' header
1 parent 0aaa3ae commit e6e1d27

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/java/javax/servlet/http/HttpServletResponse.java

+6
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,12 @@ public interface HttpServletResponse extends ServletResponse {
469469
* <p>The trailers that run afoul of the provisions of section 4.1.2 of
470470
* RFC 7230 are ignored.</p>
471471
*
472+
* <p>The RFC requires the name of every key that is to be in the
473+
* supplied Map is included in the comma separated list that is the value
474+
* of the "Trailer" response header. The application is responsible for
475+
* ensuring this requirement is met. Failure to do so may lead to
476+
* interoperability failures.</p>
477+
*
472478
* @implSpec
473479
* The default implementation is a no-op.
474480
*

0 commit comments

Comments
 (0)