         return try HTTPStreamHeader(stream: self)
     }
 
-    func send(response: Response, keepAlive: Bool) throws {
+    func send(_ response: Response, keepAlive: Bool) throws {
         let version = response.version
         let status = response.status
 

        try send(response.body)
    }

    func send(body: Response.Body) throws {
        switch body {
        case .buffer(let data):
            try send(data)
        case .receiver(let receiver):
            while !receiver.closed {
                let chunk = try receiver.receive(max: Int.max)
                try send(chunk)
            }
        case .sender(let closure):


        let data: Data
        if let length = header.contentLength {
            data = try receive(upTo: length)
        } else {
            data = []
        }
