diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java index 44ac651c1c4..5b598bcad23 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java @@ -352,6 +352,11 @@ public class HttpParser return _contentPosition; } + public int getHeaderLength() + { + return _headerBytes; + } + /** * Set if a HEAD response is expected *