The writ must be directed to the person having custody of or restraining the person on whose behalf the application is made, and must command him to have the body of such person before the Court or Judge before whom the writ is returnable, at a time and place therein specified.
Ca. Pen. Code § 1477