1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-25 10:50:55 +00:00

no need to override Trace method.

This commit is contained in:
JessonChan 2019-03-27 13:43:27 +08:00
parent 02bead5097
commit 3155f07ccd

View File

@ -198,6 +198,7 @@ func (c *Controller) Options() {
} }
// Trace adds a request function to handle Trace request. // Trace adds a request function to handle Trace request.
// this method SHOULD NOT be overridden.
// https://tools.ietf.org/html/rfc7231#section-4.3.8 // https://tools.ietf.org/html/rfc7231#section-4.3.8
// The TRACE method requests a remote, application-level loop-back of // The TRACE method requests a remote, application-level loop-back of
// the request message. The final recipient of the request SHOULD // the request message. The final recipient of the request SHOULD