[READ-ONLY] Mirror of https://github.com/FoxxMD/docker-proxy-filter. Filter the contents of Docker API responses
docker docker-socket-proxy filter
0

Configure Feed

Select the types of activity you want to include in your feed.

send empty body for _ping endpoint

Andreas Brett (Apr 4, 2026, 9:00 PM UTC) 57e18abb 43a5bdf8

+5
+5
src/proxy.rs
··· 37 37 .await 38 38 .map_err(web::Error::from)?; 39 39 40 + // respond without body for /_ping HEAD request 41 + if req.uri().path() == "/_ping" && req.method() == http::Method::HEAD { 42 + return Ok(web::HttpResponse::build(res.status()).finish()); 43 + } 44 + 40 45 let mut client_resp = web::HttpResponse::build(res.status()); 41 46 client_resp.content_type(res.content_type()); 42 47