 	/// Append String data to the outgoing response.
 	/// All such data will be converted to a UTF-8 encoded [UInt8]
     func appendBody(string: String)
-	/// Encodes the Dictionary as a JSON string and converts that to a UTF-8 encoded [UInt8]
-    func setBody(json: [String:Any]) throws
 	/// Push all currently available headers and body data to the client.
 	/// May be called multiple times.
     func push(callback: (Bool) -> ())

	/// No further request related activities should be performed after calling this.
    func completed()
}

//
//===----------------------------------------------------------------------===//
//

import PerfectLib

/// HTTP response status code/msg.
public enum HTTPResponseStatus: CustomStringConvertible {
