RestLiServer does not tolerate null request.
Fix header display bug in docgen resource page.

RB=261581
R=gogenc,jbetz,kparikh,si-dev
A=gogenc,jbetz