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:
parent
3849a9118f
commit
829cf76a89
|
@ -365,6 +365,11 @@ public class HttpParser
|
|||
return _contentPosition;
|
||||
}
|
||||
|
||||
public int getHeaderLength()
|
||||
{
|
||||
return _headerBytes;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set if a HEAD response is expected
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue