         }
         taskConfigs.removeValueForKey(task.taskIdentifier)
     }
-
 }
 
 // stolen from python-requests


let errorDomain = "net.justhttp.Just"

public class Just: NSObject {

    class var shared: Just {
        struct Singleton {

    public lazy var cookies:[String:NSHTTPCookie] = {
        let foundCookies: [NSHTTPCookie]
        if let responseHeaders = (self.response as? NSHTTPURLResponse)?.allHeaderFields as? [String: String] {
            foundCookies = NSHTTPCookie.cookiesWithResponseHeaderFields(responseHeaders, forURL:NSURL(string:"")!) as [NSHTTPCookie]
        } else {
            foundCookies = []
        }
