#vulnerable code 
                             @Test
	public void shouldParseRequest1() {
		ReqData req = parse(REQ1);

		BufGroup bufs = new BufGroup(2);
		Buf reqbuf = bufs.from(REQ1, "r2");

		eq(REQ1, req.rVerb, "GET");
		eq(REQ1, req.rPath, "/foo/bar");
		eqs(REQ1, req.params, "a", "5", "b", "", "n", "%20");
		eq(req.params.toMap(reqbuf, true, true, false), U.map("a", "5", "b", "", "n", " "));
		eq(REQ1, req.rProtocol, "HTTP/1.1");
		eqs(REQ1, req.headersKV, "Host", "www.test.com", "Set-Cookie", "aaa=2");

		isNone(req.rBody);
	} 
                            #location 11 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                             @Test
	public void shouldParseRequest1() {
		RapidoidHelper req = parse(REQ1);

		BufGroup bufs = new BufGroup(2);
		Buf reqbuf = bufs.from(REQ1, "r2");

		eq(REQ1, req.verb, "GET");
		eq(REQ1, req.path, "/foo/bar");
		eqs(REQ1, req.params, "a", "5", "b", "", "n", "%20");
		eq(req.params.toMap(reqbuf, true, true, false), U.map("a", "5", "b", "", "n", " "));
		eq(REQ1, req.protocol, "HTTP/1.1");
		eqs(REQ1, req.headersKV, "Host", "www.test.com", "Set-Cookie", "aaa=2");

		isNone(req.body);
	}