         }
     }
     
-    private func insertInBody(headers: [String: String], request: URLRequest) -> URLRequest {
+    private func insertInHeaders(with headers: [String: String], request: URLRequest) -> URLRequest {
         var newRequest = request
         for (key, value) in headers {
             newRequest.addValue(value, forHTTPHeaderField: key)

        return newRequest
    }
    
    private func insertInBody(componentsDict: [String: String], request: URLRequest) -> URLRequest {
        var newRequest: URLRequest! = request
        var components = URLComponents(url: newRequest.url!, resolvingAgainstBaseURL: false)
        if (components?.queryItems == nil) {

        return newRequest
    }
    
    private func insertInBody(with json: [String: Any], request: URLRequest) -> URLRequest {
        do {
            if request.httpMethod == HTTPMethod.GET.rawValue || request.httpMethod == HTTPMethod.DELETE.rawValue {
                throw FaroError.malformed(info: "HTTP " + request.httpMethod! + " request can't have a body")
