This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.1.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push: new c79424d638 update terms about partial PUT - a PUT with Content-Range Header (#795) c79424d638 is described below commit c79424d63838e78b87a4c701dc91b1c029887953 Author: Chenjp <ch...@msn.com> AuthorDate: Mon Dec 16 15:50:35 2024 +0800 update terms about partial PUT - a PUT with Content-Range Header (#795) RFC7231#4.3.4: An origin server that allows PUT on a given target resource MUST send a 400 (Bad Request) response to a PUT request that contains a Content-Range header field --- conf/web.xml | 10 +++++----- webapps/docs/default-servlet.xml | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/conf/web.xml b/conf/web.xml index 10399fce99..c1b43fb64c 100644 --- a/conf/web.xml +++ b/conf/web.xml @@ -114,11 +114,11 @@ <!-- listings is enabled? [true] --> <!-- --> <!-- allowPartialPut Should the server treat an HTTP PUT request --> - <!-- with a Range header as a partial PUT? Note --> - <!-- that while RFC 7233 clarified that Range --> - <!-- headers only valid for GET requests, RFC 9110 --> - <!-- (which obsoletes RFC 7233) now allows partial --> - <!-- puts. [true] --> + <!-- with a Content-Range header as a partial PUT? --> + <!-- Note that while RFC 7231 clarified that such a --> + <!-- PUT with a Content-Range header field is a bad --> + <!-- request, RFC 9110 (which obsoletes RFC 7231) --> + <!-- now allows partial PUT. [true] --> <servlet> <servlet-name>default</servlet-name> diff --git a/webapps/docs/default-servlet.xml b/webapps/docs/default-servlet.xml index 38a6068c2b..b02eb5c1b5 100644 --- a/webapps/docs/default-servlet.xml +++ b/webapps/docs/default-servlet.xml @@ -209,10 +209,10 @@ Tomcat.</p> Should the server list all directories before all files. [false] </property> <property name="allowPartialPut"> - Should the server treat an HTTP PUT request with a Range header as a - partial PUT? Note that while RFC 7233 clarified that Range headers only - valid for GET requests, RFC 9110 (which obsoletes RFC 7233) now allows - partial puts. [true] + Should the server treat an HTTP PUT request with a Content-Range header + as a partial PUT? Note that while RFC 7231 clarified that such a PUT + with a Content-Range header field is a bad request, RFC 9110 + (which obsoletes RFC 7231) now allows partial PUT. [true] </property> </properties> </section> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org