Extra assurances against rendering extremely long lines in request viewer
Added unhandled case to fix a warning