         startIndex = _data.startIndex
         endIndex = _data.endIndex
     }
+
     public subscript (position: Index) -> Element {
         return _data[position]
     }

        json:[String:AnyObject]?,
        headers:[String:String],
        files:[String:HTTPFile],
        auth:(String, String)?,
        cookies: [String:String],
        redirects:Bool,
        timeout:Double?,

}

typealias TaskID = Int
typealias Credentials = (username:String, password:String)
struct TaskConfiguration {
    var credential:Credentials?
    var redirects:Bool
}

