     }
     private let _path: URL
     private let _fullpath: URL
+
+    private var _cookies: [String: String] = [:]
 
     var path: String {
         return _path.absoluteString

            headers[pomArray[0].lowercased()] = pomArray[1]
        }

        if _method == .post {
            guard let contentType = getHeader(for: HTTPHeaders.ContentType.contentType) else {
                throw HTTPError(status: .unsupportedMediaType, description: "Missing \(HTTPHeaders.ContentType.contentType)")
            }

            switch contentType {
            case HTTPHeaders.ContentType.Application.formUrlencoded.rawValue:
                try parseURLEncoded(body: rawBody.data(using: .utf8)!) // TODO not as string
            default:
                throw HTTPError(status: .unsupportedMediaType, description: "Unsupported \(HTTPHeaders.ContentType.contentType)")
            }
        }
    }


        return _postParameters
    }

    func getCookie(for key: String) -> String? {
        return _cookies[key]
    }
    var cookies: [String: String] {
        return _cookies
    }

    var getParameters: [String: String?] {
        return _fullpath.allQueryParams
    }
