httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Akins <br...@akins.org>
Subject Re: patch for handling headers_in and headers_out as tables in mod_lua
Date Thu, 05 Feb 2009 18:44:42 GMT
Is this in trunk? I don't see it, but I've been known to overlook stuff.

On 1/26/09 1:45 PM, "Brian McCallister" <brianm@skife.org> wrote:

> For anyone following, it has been applied :-)
> 

>>>>>> 
>>>>>> -- NEW
>>>>>> function handle(r)
>>>>>> local host = r.headers_in['host']
>>>>>> r:puts(host)
>>>>>> 
>>>>>> -- and can now modify them
>>>>>> r.headers_in['X-XX-Fake'] = 'rabbits!'
>>>>>> r.headers_out['wombat'] = 'lua now!'
>>>>>> end

Wasn't this the way it used to be?

--bakins



Mime
View raw message