             }()
     
         self.httpRequest = request
-    
+
         let task : NSURLSessionDataTask = self.httpSession.session.dataTaskWithRequest(request, completionHandler: {(data: NSData!, response: NSURLResponse!, error: NSError!) -> Void in
       
             var dataResp: NSData? = data

    
        task.resume()
    }
    
    func postResource(postData: AnyObject, successBlock: RequestSuccessBlock?, errorBlock: RequestErrorBlock?) -> Void {
    
        var request: NSURLRequest = {
            
            let mutableRequest: NSMutableURLRequest = self.httpRequest.mutableCopy() as NSMutableURLRequest
            let transformedJSONData: NSData = NSJSONSerialization.dataWithJSONObject(postData, options: NSJSONWritingOptions(0), error: nil)!
            
            mutableRequest.HTTPMethod = AllowedHTTPMethods.POST
            mutableRequest.HTTPBody   = transformedJSONData
            
            return mutableRequest.copy() as NSURLRequest

                }
        
                if (!containsStatusCode) {

                    let localizedErrorString: String = "There was an error processing the request"
                    let errorDictionary: [String:String] = ["NSLocalizedDescriptionKey" : localizedErrorString, "TheoResponseCode" : "\(statusCode)", "TheoResponse" : response.description]
                    let requestResponseError: NSError = {
