[SR-Users] Header field manipulation

Spencer Thomason spencer at 5ninesolutions.com
Tue Jul 12 20:06:02 CEST 2011


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




More information about the sr-users mailing list