Zaid Zahir, 20, of Rosebery Street, off Leeman Road, York, and Farim Khan, 18, of no fixed address, made their first appearance before York Crown Court today (Monday, September 23).
They had previously appeared before York Magistrates' Court when they had been remanded in custody.
They are alleged to have raped the woman in August in separate incidents in York city centre.
Both men appeared via video link from Hull Prison where they are being held on remand.
YOU’LL FIND MORE ON THIS STORY AND OTHERS AT www.yorkpress.co.uk OR PICK UP YOUR COPY OF THE NEWSPAPER ITSELF AVAILABLE SIX DAYS A WEEK AT YOUR LOCAL NEWSAGENT