lib/metasploit/aggregator/http/request.rb in metasploit-aggregator-0.2.1 vs lib/metasploit/aggregator/http/request.rb in metasploit-aggregator-0.2.2

- old
+ new

@@ -21,21 +21,9 @@ uri = uri.chomp('/') end uri end - def to_msgpack - MessagePack.dump ({ - :headers => headers, - :body => body - }) - end - - def self.from_msgpack(string) - data = MessagePack.load string - self.new(data['headers'], data['body'].force_encoding(Encoding::ASCII_8BIT), nil) - end - # provide a default response in Request form def self.parked() parked_message = [] parked_message << 'HTTP/1.1 200 OK' parked_message << 'Content-Type: application/octet-stream' \ No newline at end of file