There are some unneeded post methods in http handlers, while some get methods should be post ones instead.
The following revision refers to this bug: https://chromium.googlesource.com/infra/infra/+/2ab5afbc513452aeba0361c95cdd5446e37e2d04 commit 2ab5afbc513452aeba0361c95cdd5446e37e2d04 Author: Shuotao Gao <stgao@chromium.org> Date: Wed Jun 07 05:23:42 2017 [Findit] Add XSRF token to triage-related endpoints. Bug: 727797 , 727792 , 716280 Change-Id: Ie7c9fe92e7a1e20fc5af6541cae1a0efedc4b72c Reviewed-on: https://chromium-review.googlesource.com/526852 Commit-Queue: Shuotao Gao <stgao@chromium.org> Reviewed-by: Roberto Carrillo <robertocn@chromium.org> Reviewed-by: Chan Li <chanli@chromium.org> Reviewed-by: Jeffrey Li <lijeffrey@chromium.org> [modify] https://crrev.com/2ab5afbc513452aeba0361c95cdd5446e37e2d04/appengine/findit/handlers/list_analyses.py [modify] https://crrev.com/2ab5afbc513452aeba0361c95cdd5446e37e2d04/appengine/findit/templates/build_failure.html [modify] https://crrev.com/2ab5afbc513452aeba0361c95cdd5446e37e2d04/appengine/findit/handlers/help_triage.py [add] https://crrev.com/2ab5afbc513452aeba0361c95cdd5446e37e2d04/appengine/findit/ui/elements/analysis/triage-help-demo.html [modify] https://crrev.com/2ab5afbc513452aeba0361c95cdd5446e37e2d04/appengine/findit/handlers/test/check_duplicate_failures_test.py [modify] https://crrev.com/2ab5afbc513452aeba0361c95cdd5446e37e2d04/appengine/findit/handlers/test/help_triage_test.py [modify] https://crrev.com/2ab5afbc513452aeba0361c95cdd5446e37e2d04/appengine/findit/templates/flake/result.html [add] https://crrev.com/2ab5afbc513452aeba0361c95cdd5446e37e2d04/appengine/findit/ui/elements/analysis/triage-help.html [modify] https://crrev.com/2ab5afbc513452aeba0361c95cdd5446e37e2d04/appengine/findit/handlers/check_duplicate_failures.py
The following revision refers to this bug: https://chromium.googlesource.com/infra/infra/+/884b86056b7da20da9804c95bfd178a92a87be89 commit 884b86056b7da20da9804c95bfd178a92a87be89 Author: Shuotao Gao <stgao@chromium.org> Date: Wed Jun 07 18:26:54 2017 [Findit] Add XSRF token verification to triage endpoints.(2/2) Bug: 727797 , 727792 , 716280 Change-Id: I4b671dd401f65bdc93b0a6b7e4487702f5ce65f5 Reviewed-on: https://chromium-review.googlesource.com/527332 Reviewed-by: Chan Li <chanli@chromium.org> Commit-Queue: Shuotao Gao <stgao@chromium.org> [modify] https://crrev.com/884b86056b7da20da9804c95bfd178a92a87be89/appengine/findit/handlers/triage_suspected_cl.py [modify] https://crrev.com/884b86056b7da20da9804c95bfd178a92a87be89/appengine/findit/handlers/test/triage_suspected_cl_test.py [modify] https://crrev.com/884b86056b7da20da9804c95bfd178a92a87be89/appengine/findit/handlers/flake/triage_flake_analysis.py
The following revision refers to this bug: https://chrome-internal.googlesource.com/infra/puppet/+/10f8637e68e7474ccdc41e3d117697b515a21b28 commit 10f8637e68e7474ccdc41e3d117697b515a21b28 Author: Katie Thomas <katthomas@google.com> Date: Thu Jun 08 17:54:46 2017
Comment 1 by bugdroid1@chromium.org
, Jun 7 2017