Joe Schaefer <[EMAIL PROTECTED]> writes: > "Jem Berkes" <[EMAIL PROTECTED]> writes: > >> I think this granularity is required. But I'm not >> sure about how the DATA hook would work? > > Have you considered using libapreq2 for parsing > the mime headers in there? The header parser > should really convenient for that, you could > even introduce a post-header-parser hook that > runs when the parser finishes.
The reason I bring it up is that libapreq2's parsers aren't tied to a request_rec, they include a hook API, and libapreq2 even has a multipart parser as well. It seems like all the important DATA events can be mapped directly to apreq parsers and hooks. -- Joe Schaefer
