Determines whether PUBLISH request is accepted and processed or rejected with 405 or with a configurable response.