Swedish deputy director of public prosecution, Eva-Marie Persson, had requested the detention - arguing that Assange posed a flight risk. Assange's attorney, Per E. Samuelson, countered that the WikiLeaks founder would be willing to come to Sweden to cooperate with the investigation, and that his client has nothing to hide.
The Uppsala district court denied the request when it was clear that Swedish authorities were not finished with their preliminary investigation into a 2010 rape claim. Samuelson argued that under new rules, EAWs cannot be obtained to conduct preliminary investigations - and the prosecution must instead apply for a European investigation order.
This means that the prosecution will need to complete its preliminary investigation without Assange's extradition to Sweden, and will instead have to travel to the UK for interrogations, or conduct them via video.