1
0
mirror of https://github.com/labstack/echo.git synced 2025-01-01 22:09:21 +02:00

For consistency, added additional header constant for 'Allow' named 'HeaderAllow', which is missing when forming responses to OPTIONS method requests

This commit is contained in:
Ollie Phillips 2016-06-02 21:40:21 +01:00
parent 0d2dac7532
commit c71ecb845c

View File

@ -141,6 +141,7 @@ const (
// Headers
const (
HeaderAcceptEncoding = "Accept-Encoding"
HeaderAllow = "Allow"
HeaderAuthorization = "Authorization"
HeaderContentDisposition = "Content-Disposition"
HeaderContentEncoding = "Content-Encoding"