getPDFTitle comment

It does not (quite) do what you think it would from its name.

One line do block
Factor "^. responseBody"

Duplicate code