public void setSendRefererHeader ( boolean send ) { if ( send == sendRefererHeader ) { return ; } this . sendRefererHeader = send ; getConfig ( ) . setProperty ( SPIDER_SENDER_REFERER_HEADER , this . sendRefererHeader ) ; }
Sets whether or not the Referer header should be sent in spider requests .