In my use case I would like to get the size of the http header in bytes using Netty. I went through the source code of Netty. By default the header size is 8KiB [8192 bytes]. It ignores the remaining headers ( decoder ). But Netty does not provide a function to get the current header size.
Is there a function to get the size of the header using Netty? If not, what is the best way get the header size from the http request? Could someone help me with this?