[SR-Users] Record Routes

Alex Balashov abalashov at evaristesys.com
Tue Sep 11 13:24:43 CEST 2018


On Tue, Sep 11, 2018 at 11:22:26AM +0000, Wilkins, Steve wrote:

> Can a Route: be removed?, if so, how?

   if(is_present_hf("Route"))
      remove_hf("Route");

Some may view the if-statement as redundant, given that remove_hf() will
simply have zero effect if the header is not present, without complaint.

But unless you are doing this in the context of an initial request, you
need to carefully ask yourself about your motivations.

-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/



More information about the sr-users mailing list