Gabriella Lotz has posted comments on this change. ( http://gerrit.cloudera.org:8080/23657 )
Change subject: [webserver] Restrict UI pages to GET/HEAD methods only ...................................................................... Patch Set 3: (1 comment) http://gerrit.cloudera.org:8080/#/c/23657/2/src/kudu/server/webserver-test.cc File src/kudu/server/webserver-test.cc: http://gerrit.cloudera.org:8080/#/c/23657/2/src/kudu/server/webserver-test.cc@793 PS2, Line 793: } > Does it make sense to add a scenario to verify webserver's response to the I've added test coverage for the OPTIONS method on non-styled pages, but I opted not to add a test for non-existent URLs because the 404 precedence over 405 is an implementation detail of the error-handling order and non-existent URL handling is already tested in this file. -- To view, visit http://gerrit.cloudera.org:8080/23657 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ie232bd50785bb750ecaa0a7e19403e573ac193eb Gerrit-Change-Number: 23657 Gerrit-PatchSet: 3 Gerrit-Owner: Gabriella Lotz <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Ashwani Raina <[email protected]> Gerrit-Reviewer: Gabriella Lotz <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Comment-Date: Wed, 14 Jan 2026 10:48:51 +0000 Gerrit-HasComments: Yes
