     
     var url: NSURL
     var method = "GET"
-    var body = NSData()
+    var body: NSData?
     var headers: Dictionary<String, String> = Dictionary()
     var parameters: Dictionary<String, String> = Dictionary()
     var connection: NSURLConnection?

            request.setValue(value, forHTTPHeaderField: field)
        }
        
        if (body.length > 0) {
            request.setValue(String(body.length), forHTTPHeaderField: "Content-Length")
        }
        
        return request

        }
    }
    
    func serializedRequestBody() -> NSData? {
        return queryString().dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: true)
    }
    
