This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/8.5.x by this push:
     new 0f64ae81b4 Update documentation since RFC 9110 now allows partial PUT
0f64ae81b4 is described below

commit 0f64ae81b41dd099f035251133f97663a560517f
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Aug 1 13:32:47 2022 +0100

    Update documentation since RFC 9110 now allows partial PUT
---
 conf/web.xml                     | 6 ++++--
 webapps/docs/default-servlet.xml | 6 ++++++
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/conf/web.xml b/conf/web.xml
index 4392dcd99e..f08832b820 100644
--- a/conf/web.xml
+++ b/conf/web.xml
@@ -107,8 +107,10 @@
   <!--                                                                      -->
   <!--   allowPartialPut     Should the server treat an HTTP PUT request    -->
   <!--                       with a Range header as a partial PUT? Note     -->
-  <!--                       that RFC 7233 clarified that Range headers are -->
-  <!--                       only valid for GET requests. [true]            -->
+  <!--                       that while RFC 7233 clarified that Range       -->
+  <!--                       headers only valid for GET requests, RFC 9110  -->
+  <!--                       (which obsoletes RFC 7233) now allows partial  -->
+  <!--                       puts. [true]                                   -->
 
     <servlet>
         <servlet-name>default</servlet-name>
diff --git a/webapps/docs/default-servlet.xml b/webapps/docs/default-servlet.xml
index b21ec66aab..b7054e34d9 100644
--- a/webapps/docs/default-servlet.xml
+++ b/webapps/docs/default-servlet.xml
@@ -194,6 +194,12 @@ directory listings are disabled and debugging is turned 
off.
   <property name="sortDirectoriesFirst">
         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]
+  </property>
 </properties>
 </section>
 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to