nop logging when running tests
don't alloc composite buffer on non POST/PUT/PATCH requests