The writ shall require the defendant to file a return, at a specified time and place, that states the time and cause of plaintiff's imprisonment or restraint. The writ shall not command the defendant to produce the plaintiff before the court or judge issuing the writ, unless the court, in its discretion, so orders. The court shall consider an allegation of lack of authority, brought only under ORS 34.360, as a factor weighing in favor of requiring the defendant to produce the plaintiff at the time of the return.
ORS 34.421