httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rui Hu <tchrb...@gmail.com>
Subject Re: one question about HTTP response header "Content-Length"
Date Fri, 16 Mar 2012 06:31:15 GMT
I have another question. I found that not every request's response header
has field of "Content-Length", is it normal?

Additionally, can I modify HTTP response header in output filter of
AP_FTYPE_PROTOCOL type?

Many thanks!

Vic


2012/3/16 Joe Lewis <jlewis@silverhawk.net>

> Fix UPS runs before other hooks. Output filters run after content
> generation. If you can be the last output filter, you should have that
> value in the headers out table.
>
> Joe
> --
> Http://www.silverhawk.net/
> On Mar 15, 2012 9:22 PM, "Rui Hu" <tchrbupt@gmail.com> wrote:
>
> > hi,
> >
> > I have a private module which want to get the ultimate value of
> > "Content-Length" , and I hook this module in fixups. However, result
> shows
> > that "Content-Length" is NULL when I get it.
> >
> > Which process should I hook if I want to get Content-Length's ultimate
> > value? Any suggestion?
> >
> > Many thanks!
> >
> > Vic
> >
> > --
> > Best regards,
> >
> > Rui Hu
> >
> >
> ----------------------------------------------------------------------------------------
> > State Key Laboratory of Networking & Switching Technology
> > Beijing University of Posts and Telecommunications(BUPT)
> > MSN: tchrbupt@gmail.com
> >
> >
> -----------------------------------------------------------------------------------------
> >
>



-- 
Best regards,

Rui Hu
----------------------------------------------------------------------------------------
State Key Laboratory of Networking & Switching Technology
Beijing University of Posts and Telecommunications(BUPT)
MSN: tchrbupt@gmail.com
-----------------------------------------------------------------------------------------

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message