Account for possibly missing data structures
Merge pull request #18211 from techhat/httpstate

Account for possibly missing data structures