Re: [SR-Users] Header field manipulation

2011-07-12 Thread Spencer Thomason
Thanks! On Jul 12, 2011, at 12:18 PM, Daniel-Constantin Mierla wrote: > Hello, > > On 7/12/11 8:06 PM, Spencer Thomason wrote: >> Hello all, >> Is it preferable to to a check before removing a header field or to simply >> call remove_hf()? Are there any performance considerations? >> >> i.e

Re: [SR-Users] Header field manipulation

2011-07-12 Thread Daniel-Constantin Mierla
Hello, On 7/12/11 8:06 PM, Spencer Thomason wrote: Hello all, Is it preferable to to a check before removing a header field or to simply call remove_hf()? Are there any performance considerations? i.e. if is_present_hf("X-Account-Code") remove_hf("X-Account-Code"); vs remove_

[SR-Users] Header field manipulation

2011-07-12 Thread Spencer Thomason
Hello all, Is it preferable to to a check before removing a header field or to simply call remove_hf()? Are there any performance considerations? i.e. if is_present_hf("X-Account-Code") remove_hf("X-Account-Code"); vs remove_hf("X-Account-Code"); Thanks, Spencer