1
0
mirror of https://github.com/labstack/echo.git synced 2025-01-10 00:28:23 +02:00
Commit Graph

11 Commits

Author SHA1 Message Date
toimtoimtoim
c0c00e6241
V5.0.0-alpha 2022-02-01 00:48:37 +02:00
Hylke Visser
87da9a948b Add ReferrerPolicy to Secure middleware () 2019-08-01 15:27:09 -07:00
Helen Hood
5434a5392f Enable adding preload tag to HSTS header () 2019-03-06 10:22:19 -08:00
Kumar Harsh
802fb5bba6 feat(secure): support Content-Security-Policy-Report-Only header ()
Closes 
2019-02-26 22:32:07 -08:00
Alex Ungur
6d9e043284 Introduced Go module support as v4, removed obsolete CloseNotifier() mechanism
This reintroduces support for Go modules, as v4.

CloseNotifier() is removed as it has been obsoleted, see https://golang.org/doc/go1.11#net/http

It was already NOT working (not sending signals) as of 1.11 the functionality was gone, we merely
deleted the functions that exposed it. If anyone still relies on it they should migrate to using
`c.Request().Context().Done()` instead.

Closes , 
2019-01-30 16:11:42 +02:00
Emir Ribić
c8fd197fa8 Replace http constants with stdlib ones, i.e.: http.MethodGet instead of echo.GET () 2018-10-14 20:46:58 +05:30
Vishal Rana
29fd5831ff Fixed test
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-02-22 15:57:12 -08:00
Vishal Rana
2aec0353f5 First commit to v3,
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-22 22:56:00 -07:00
Vishal Rana
6424d779dc Added test for secure middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-03 08:32:28 -07:00
Vishal Rana
f0526349ff Fixed
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-02 22:41:07 -07:00
haoxin
e2faa6c2be middleware: add basic secure headers 2016-04-28 14:12:57 +08:00