The format is not needed on that line, it is only checking the verb.
I included the 405 and 403 so that if something connected to the "proxy" and tried to use it improperly, there would be useful logging. It can be simplified if that is appropriate