Skip to content

Commit

Permalink
Issue #4954 - Expose header size/length from HttpParser
Browse files Browse the repository at this point in the history
- Minimal new API for exposing byte counts to HttpChannel.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
  • Loading branch information
joakime committed Sep 14, 2020
1 parent 3849a91 commit 06ddf26
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -365,6 +365,11 @@ public long getContentRead()
return _contentPosition;
}

public long getHeaderLength()
{
return _headerBytes;
}

/**
* Set if a HEAD response is expected
*
Expand Down

0 comments on commit 06ddf26

Please sign in to comment.