@@ -0,0 +1,1034 @@
+// Copyright 2014, Kevin Ko %3Ckevin@faveset.com%3E%0A%0Apackage com.faveset.khttp;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertFalse;%0Aimport static org.junit.Assert.assertTrue;%0A%0Aimport org.junit.Test;%0Aimport org.junit.Ignore;%0Aimport org.junit.runner.RunWith;%0Aimport org.junit.runners.JUnit4;%0A%0Aimport java.nio.ByteBuffer;%0A%0A@RunWith(JUnit4.class)%0Apublic class RequestHeaderHandlerTest %7B%0A    @Test%0A    public void testSimple() throws InvalidRequestException %7B%0A        ByteBuffer buf = Helper.makeByteBuffer(%22hello: world%5Cn%22);%0A        HandlerState state = new HandlerState();%0A%0A        RequestHeaderHandler handler = new RequestHeaderHandler();%0A        assertFalse(handler.handleState(null, buf, state));%0A%0A        assertEquals(1, state.getRequest().getHeader(%22hello%22).size());%0A        assertEquals(%22world%22, state.getRequest().getHeaderFirst(%22hello%22));%0A%0A        buf.clear();%0A        buf.put(Helper.makeByteBuffer(%22%5Cn%22));%0A        buf.flip();%0A        assertTrue(handler.handleState(null, buf, state));%0A    %7D%0A%7D%0A

Add simple RequestHeaderHandler test.