 import Deferred
 
 /*
-Welcome to Drosky, your one and only way of talking to Rest APIs.
-
-Inspired by Moya (https://github.com/AshFurrow/Moya)
-
-*/
+ Welcome to Drosky, your one and only way of talking to Rest APIs.
+ 
+ Inspired by Moya (https://github.com/AshFurrow/Moya)
+ 
+ */
 
 /*
  Things to improve:
  1.- Wrap the network calls in a NSOperation in order to:
-    * Control how many are being sent at the same time
-    * Allow to add priorities in order to differentiate user facing calls to analytics crap
+ * Control how many are being sent at the same time
+ * Allow to add priorities in order to differentiate user facing calls to analytics crap
  2.- Use the Timeline data in Response to calculate an average of the responses from the server
  */
 

        }
        
        return Future(deferred)
    }
}



public enum HTTPMethod: String {
    case GET, POST, PUT, DELETE, OPTIONS, HEAD, PATCH, TRACE, CONNECT
}

extension HTTPMethod {
    func alamofireMethod() -> Alamofire.Method {
        switch self {
        case GET:
            return .GET
        case POST:
            return .POST
        case PUT:
            return .PUT
        case DELETE:
            return .DELETE
        case OPTIONS:
            return .OPTIONS
        case HEAD:
            return .HEAD
        case PATCH:
            return .PATCH
        case TRACE:
            return .TRACE
        case CONNECT:
            return .CONNECT
        }
    }
}

public enum HTTPParameterEncoding {
