Added  a method for easy adding the dpr to httpconfiguration