gotosocial/internal/middleware
tobi baed591a1d
[feature] Use X-Robots-Tag headers to instruct scrapers/crawlers (#3737)
* [feature] Use `X-Robots-Tag` headers to instruct scrapers/crawlers

* use switch for RobotsHeaders
2025-02-05 12:47:13 +01:00
..
cachecontrol.go [bugfix] Set Vary header correctly on cache-control (#1988) 2023-07-13 21:27:25 +02:00
contentsecuritypolicy.go [feature] Set some security related headers (#3065) 2024-07-04 10:07:02 +02:00
contentsecuritypolicy_test.go [feature] Add rate limit exceptions option, use ISO8601 for rate limit reset (#2151) 2023-08-23 14:32:27 +02:00
cors.go [chore] Replace pinafore with semaphore (#1801) 2023-05-21 22:40:43 +02:00
extraheaders.go [feature] Use X-Robots-Tag headers to instruct scrapers/crawlers (#3737) 2025-02-05 12:47:13 +01:00
gzip.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
headerfilter.go [chore] header filter improvements (#3329) 2024-09-23 11:36:56 +00:00
headerfilter_test.go [feature] request blocking by http headers (#2409) 2023-12-18 14:18:25 +00:00
logger.go [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
ratelimit.go [chore] skip trusted-proxies warning if ip excepted from rate limiting (#3699) 2025-01-27 19:21:13 +01:00
ratelimit_test.go [chore] skip trusted-proxies warning if ip excepted from rate limiting (#3699) 2025-01-27 19:21:13 +01:00
requestid.go [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
robots.go [feature] Use X-Robots-Tag headers to instruct scrapers/crawlers (#3737) 2025-02-05 12:47:13 +01:00
session.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
session_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
signaturecheck.go [feature] Try HTTP signature validation with and without query params for incoming requests (#2591) 2024-01-31 14:15:28 +00:00
throttling.go [chore] Upgrade golangci-lint, ignore existing int overflow warnings (#3420) 2024-10-16 14:13:58 +02:00
throttling_test.go [bugfix] increases sleep time before check in throttle test, to give more leeway (#2482) 2024-01-03 10:27:55 +00:00
tokencheck.go [performance] remove last of relational queries to instead rely on caches (#2091) 2023-08-10 15:08:41 +01:00
useragent.go [feature] request blocking by http headers (#2409) 2023-12-18 14:18:25 +00:00
util.go [feature] request blocking by http headers (#2409) 2023-12-18 14:18:25 +00:00