If this is referring to a table view header and NOT a section header then this question suggests that you need to set the header again after changing the frame of it - Something like this should work:
CGRect newFrame = headerView.frame;
newFrame.size.height = newFrame.size.height + webView.frame.size.height;
headerView.frame = newFrame;
[self.tableView setTableHeaderView:headerView];
If this is referring to a section header then sage444 has the correct method.
Good luck!