add publish-request middleware

boost middleware