Issue #4954 - Expose header size/length from HttpParser

- Minimal new API for exposing byte counts to HttpChannel.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
Joakim Erdfelt 2020-09-14 12:46:33 -05:00
parent 3849a9118f
commit 829cf76a89
No known key found for this signature in database
GPG Key ID: 2D0E1FB8FE4B68B4
1 changed files with 5 additions and 0 deletions

View File

@ -365,6 +365,11 @@ public class HttpParser
return _contentPosition;
}
public int getHeaderLength()
{
return _headerBytes;
}
/**
* Set if a HEAD response is expected
*