Re: modifying original request response headers when using subrequests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



nick, thnx for the pointers.  i'll take a look at the responsehandler to see if i can modify the headers.

also, thnx for the heads up on the module_dev list.


From: Nick Kew <nick@xxxxxxxxxxxx>
To: users@xxxxxxxxxxxxxxxx
Sent: Tue, August 17, 2010 5:05:11 PM
Subject: Re: modifying original request response headers when using subrequests

On Tue, 17 Aug 2010 12:51:58 -0700 (PDT)
Peter Janovsky <peterjanovsky@xxxxxxxxx> wrote:

> 1.  if i modify the response headers before the subrequest is performed they
> appear correct within the response
> 2.  if i modify the response headers after the subrequest is performed they DO
> NOT appear correct within the response

Is the subrequest sending any kind of data to the client?  If so, it'll
trigger sending the response headers.

> i'm using "chunked  transfer-encoding"

You may be reinventing that wheel: Apache will do it for you if your
response spans more than one brigade and doesn't have a Content-Length.

FWIW, this question might be better-suited to the modules-dev list.

--
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "  from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux