For anyone following, it has been applied :-)

On Thu, Jan 22, 2009 at 4:15 PM, Brian McCallister <[email protected]> wrote:
> re-re-nudge :-)
>
> On Wed, Jan 14, 2009 at 1:03 PM, Brian McCallister <[email protected]> wrote:
>> re-nudge :-)
>>
>> On Tue, Jan 13, 2009 at 12:43 AM, Bertrand Mansion <[email protected]> 
>> wrote:
>>> +1
>>>
>>> Le 13 janv. 09 à 05:28, "Brian McCallister" <[email protected]> a écrit :
>>>
>>>> Nudge -- if there are no objections to the patch, would someone be
>>>> kind enough to apply it?
>>>>
>>>> -Brian
>>>>
>>>> On Sun, Jan 11, 2009 at 8:20 PM, Brian McCallister <[email protected]>
>>>> wrote:
>>>>>
>>>>> The attached patch changes headers_in and headers_out handling in
>>>>> mod_lua as boxed userdata rather than functions.
>>>>>
>>>>> Basically we go from:
>>>>>
>>>>> -- OLD
>>>>> function handle(r)
>>>>> local host = r.headers_in("host")
>>>>> r:puts(host)
>>>>> end
>>>>>
>>>>> to
>>>>>
>>>>> -- 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
>>>>>
>>>>> In order to treat tables idiommatically, it also corrects the
>>>>> apl_push_apr_table(..) function to behave as a regular lua style push
>>>>> function instead of a set function.
>>>>>
>>>>> -Brian
>>>>>
>>>
>>
>

Reply via email to