diff --git a/context.go b/context.go index 48362519..ea532545 100644 --- a/context.go +++ b/context.go @@ -392,7 +392,7 @@ func (c *Context) Header(key, value string) { // GetHeader is a shortcut for c.Request.Header.Get(key) // It gets the header in the request. -func (c *Context) GetHeader(key string) { +func (c *Context) GetHeader(key string) string { return c.Request.Header.Get(key) }