  * limitations under the License.
  **/
 
-// import SwiftyJSON
+import SwiftyJSON
 
 import sys
 import net

    if let contentType = contentType {
      do {

        //if ContentType.isType(contentType, typeDescriptor: "json") {
        //    let bodyData = try readBodyData(message)
        //    let json = JSON(data: bodyData)
        //   if json != JSON.null {
        //       return ParsedBody(json: json)
        //   }
        //}
        if ContentType.isType(contentType, typeDescriptor: "urlencoded") {
          let bodyData = try readBodyData(message)
          var parsedBody = [String:String]()
          var success = true

    textBody = text
  }

  public func asJson() -> JSON? {
      return jsonBody
  }

  public func asUrlEncoded() -> [String:String]? {
    return urlEncodedBody
