Change check for webclient based on HTTP header