Partial Content middleware for ring.