adding a header to request_rec in an input filter of type AP_FTYPE_RESOURCE

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

 



hi,

I've an input filter of type AP_FTYPE_RESOURCE.

I'm trying to add a custom header to request_rec->headers_in. Here's
how i do it when I see an EOS:

apr_table_set(f->r->headers_in, "MY_CUSTOM_HDR", "CUSTOM_VAL");

But for some reason the header doesn't persist when i read the request
object back on the receiving side.

Is this the correct way to add a custom header to request_rec in a filter?
Does an input filter of type AP_FTYPE_RESOURCE allow to modify
request_rec->headers_in?

Thanks in advance for your help.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-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