Check for content length