Reads the header-part of the current encapsulation.
Headers are returned verbatim to the input stream, including the trailing CRLF marker. Parsing is left to the application.
TODO allow limiting maximum header size to protect against abuse.
@return The header-part of the current encapsulation.
@throws FileUploadIOException if the bytes read from the stream exceeded the size limits.
@throws MalformedStreamException if the stream ends unexpectedly.
| |
| |
| |