add showHttpError method to DocParser