Set host db and settings to request object