removed refset from hpack

This commit is contained in:
Greg Wilkins 2014-07-16 14:04:08 +10:00
parent a537fefd6b
commit 89a816843f
42 changed files with 132129 additions and 643 deletions

View File

@ -31,6 +31,12 @@
<artifactId>jetty-test-helper</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util-ajax</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>

View File

@ -21,9 +21,7 @@ package org.eclipse.jetty.http2.hpack;
import java.nio.ByteBuffer;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import java.util.NoSuchElementException;
import java.util.Set;
import org.eclipse.jetty.http.HttpField;
@ -167,18 +165,9 @@ public class HpackContext
private int _maxHeaderTableSizeInBytes;
private int _headerTableSizeInBytes;
private final Entry _refSet=new Entry();
private final HeaderTable _headerTable;
private final Map<HttpField,Entry> _fieldMap = new HashMap<>();
private final Map<String,Entry> _nameMap = new HashMap<>();
private Iterable<Entry> referenceSet = new Iterable<Entry>()
{
@Override
public Iterator<Entry> iterator()
{
return iterateReferenceSet();
}
};
HpackContext(int maxHeaderTableSize)
{
@ -217,21 +206,20 @@ public class HpackContext
public Entry get(int index)
{
index=index-_headerTable.size();
if (index>0)
{
if (index>=__staticTable.length)
return null;
if (index<__staticTable.length)
return __staticTable[index];
}
return _headerTable.getUnsafe(-index);
int d=_headerTable.size()-index+__staticTable.length-1;
if (d>=0)
return _headerTable.getUnsafe(d);
return null;
}
public Entry add(HttpField field)
{
int i=_headerTable.getNextIndexUnsafe();
Entry entry=new Entry(i,field);
int slot=_headerTable.getNextSlotUnsafe();
Entry entry=new Entry(slot,field);
int size = entry.getSize();
if (size>_maxHeaderTableSizeInBytes)
{
@ -276,109 +264,12 @@ public class HpackContext
public int index(Entry entry)
{
if (entry._index<0)
if (entry._slot<0)
return 0;
if (entry.isStatic())
return _headerTable.size() + entry._index;
return _headerTable.index(entry);
}
public void addToRefSet(Entry entry)
{
entry.addToRefSet(this);
}
public Iterable<Entry> getReferenceSet()
{
return referenceSet;
}
public void clearReferenceSet()
{
if (LOG.isDebugEnabled())
LOG.debug(String.format("RefSet[%x] cleared",hashCode()));
Entry entry = _refSet._refSetNext;
while(entry!=_refSet)
{
Entry next = entry._refSetNext;
entry.removeFromRefSet();
entry=next;
}
}
return entry._slot;
public void removedUnusedReferences(ByteBuffer buffer)
{
Entry entry = _refSet._refSetNext;
while(entry!=_refSet)
{
Entry next = entry._refSetNext;
if (entry.isUsed())
entry._used=false;
else
{
if (LOG.isDebugEnabled())
LOG.debug(String.format("RefSet[%x] remove unused %s",hashCode(),entry));
// encode the reference to remove it
buffer.put((byte)0x80);
NBitInteger.encode(buffer,7,index(entry));
entry.removeFromRefSet();
}
entry=next;
}
}
public void emitUnusedReferences(MetaDataBuilder builder)
{
Entry entry = _refSet._refSetNext;
while(entry!=_refSet)
{
if (entry.isUsed())
entry._used=false;
else
{
if (LOG.isDebugEnabled())
LOG.debug(String.format("RefSet[%x] emit unref %s",hashCode(),entry));
builder.emit(entry.getHttpField());
}
entry=entry._refSetNext;
}
}
public Iterator<Entry> iterateReferenceSet()
{
return new Iterator<Entry>()
{
Entry _next = _refSet._refSetNext;
@Override
public boolean hasNext()
{
return _next!=_refSet;
}
@Override
public Entry next()
{
if (_next==_refSet)
throw new NoSuchElementException();
Entry next=_next;
_next=_next._refSetNext;
return next;
}
@Override
public void remove()
{
if (_next._refSetPrev==_refSet)
throw new NoSuchElementException();
_next._refSetPrev.removeFromRefSet();
}
};
return _headerTable.index(entry)+__staticTable.length-1;
}
private void evict()
@ -389,8 +280,7 @@ public class HpackContext
if (LOG.isDebugEnabled())
LOG.debug(String.format("HdrTbl[%x] evict %s",hashCode(),entry));
_headerTableSizeInBytes-=entry.getSize();
entry.removeFromRefSet();
entry._index=-1;
entry._slot=-1;
_fieldMap.remove(entry.getHttpField());
String lc=StringUtil.asciiToLowerCase(entry.getHttpField().getName());
if (entry==_nameMap.get(lc))
@ -425,8 +315,8 @@ public class HpackContext
{
// Relay on super.growUnsafe to pack all entries 0 to _nextSlot
super.resizeUnsafe(newCapacity);
for (int i=0;i<_nextSlot;i++)
((Entry)_elements[i])._index=i;
for (int s=0;s<_nextSlot;s++)
((Entry)_elements[s])._slot=s;
}
/* ------------------------------------------------------------ */
@ -456,7 +346,7 @@ public class HpackContext
*/
private int index(Entry entry)
{
return entry._index>=_nextE?_size-entry._index+_nextE:_nextSlot-entry._index;
return entry._slot>=_nextE?_size-entry._slot+_nextE:_nextSlot-entry._slot;
}
}
@ -469,65 +359,25 @@ public class HpackContext
public static class Entry
{
final HttpField _field;
int _index;
Entry _refSetNext=this;
Entry _refSetPrev=this;
boolean _used;
int _slot;
Entry()
{
_index=0;
_slot=0;
_field=null;
}
Entry(int index,String name, String value)
{
_index=index;
_slot=index;
_field=new HttpField(name,value);
}
Entry(int index, HttpField field)
Entry(int slot, HttpField field)
{
_index=index;
_slot=slot;
_field=field;
}
private void addToRefSet(HpackContext ctx)
{
if (isStatic())
throw new IllegalStateException("static");
if (_index<0)
throw new IllegalStateException("evicted");
if (_refSetNext!=this)
return;
_used=true;
_refSetNext=ctx._refSet;
_refSetPrev=ctx._refSet._refSetPrev;
ctx._refSet._refSetPrev._refSetNext=this;
ctx._refSet._refSetPrev=this;
if (LOG.isDebugEnabled())
LOG.debug(String.format("RefSet[%x] added",ctx.hashCode(),this));
}
public boolean isInReferenceSet()
{
return _refSetNext!=this;
}
public void removeFromRefSet()
{
if (LOG.isDebugEnabled())
LOG.debug(String.format("RefSet[?] remove %s",this));
if (_refSetNext!=this)
{
_refSetNext._refSetPrev=_refSetPrev;
_refSetPrev._refSetNext=_refSetNext;
_refSetNext=this;
_refSetPrev=this;
_used=false;
}
}
public int getSize()
{
@ -551,17 +401,7 @@ public class HpackContext
public String toString()
{
return String.format("{%s,%d,%s,%x}",isStatic()?"S":"D",_index,_field,hashCode());
}
public void used()
{
_used=true;
}
public boolean isUsed()
{
return _used;
return String.format("{%s,%d,%s,%x}",isStatic()?"S":"D",_slot,_field,hashCode());
}
}

View File

@ -83,19 +83,15 @@ public class HpackDecoder
// indexed
int index = NBitInteger.decode(buffer,7);
Entry entry=_context.get(index);
if (entry.isInReferenceSet())
_context.get(index).removeFromRefSet();
else if (entry.isStatic())
if (entry.isStatic())
{
if (LOG.isDebugEnabled())
LOG.debug("decode IdxStatic {}",entry);
// emit field
_builder.emit(entry.getHttpField());
// copy and add to reference set if there is room
Entry new_entry = _context.add(entry.getHttpField());
if (new_entry!=null)
_context.addToRefSet(new_entry);
// TODO copy and add to reference set if there is room
// _context.add(entry.getHttpField());
}
else
{
@ -103,8 +99,6 @@ public class HpackDecoder
LOG.debug("decode Idx {}",entry);
// emit
_builder.emit(entry.getHttpField());
// add to reference set
_context.addToRefSet(entry);
}
}
else
@ -210,10 +204,7 @@ public class HpackDecoder
if (indexed)
{
// add to header table
Entry new_entry=_context.add(field);
// and to ref set if there was room in header table
if (new_entry!=null)
_context.addToRefSet(new_entry);
_context.add(field);
}
}
else if (f==2)
@ -228,15 +219,12 @@ public class HpackDecoder
}
else if (f==3)
{
// clear reference set
if (LOG.isDebugEnabled())
LOG.debug("decode clear");
_context.clearReferenceSet();
LOG.debug("unused");
}
}
}
_context.emitUnusedReferences(_builder);
return _builder.build();
}

View File

@ -161,7 +161,6 @@ public class HpackEncoder
encode(buffer,field);
}
_context.removedUnusedReferences(buffer);
}
public void encodeMaxHeaderTableSize(ByteBuffer buffer, int maxHeaderTableSize)
@ -173,12 +172,6 @@ public class HpackEncoder
_context.resize(maxHeaderTableSize);
}
public void encodeClearReferenceSet(ByteBuffer buffer)
{
buffer.put((byte)0x30);
_context.clearReferenceSet();
}
private void encode(ByteBuffer buffer, HttpField field)
{
final int p=LOG.isDebugEnabled()?buffer.position():-1;
@ -192,49 +185,18 @@ public class HpackEncoder
if (entry!=null)
{
// if entry is already in the reference set, then nothing more to do.
if (entry.isInReferenceSet())
{
entry.used();
encoding="InRefSet";
}
// Is this as static field
else if (entry.isStatic())
if (entry.isStatic())
{
// TODO Strategy decision to make!
// Should we add to reference set or just always send as indexed?
// entries like :status: 200 and :method: GET are worthwhile putting into ref set.
// as they are likely to be repeated.
encoding="StaticIndexed";
int index=_context.index(entry);
buffer.put((byte)0x80);
NBitInteger.encode(buffer,7,index);
if (((StaticEntry)entry).useRefSet())
{
// entries like :status: 200 and :method: GET are worthwhile putting into ref set.
// as they are likely to be repeated.
encoding="StaticIndexed";
int index=_context.index(entry);
buffer.put((byte)0x80);
NBitInteger.encode(buffer,7,index);
entry=_context.add(entry.getHttpField());
if (entry!=null)
_context.addToRefSet(entry);
}
else
{
// Let's send other statics as indexed to reduce churn in header table!
// BUGGER! Can't do that as we have to copy them into header table.
// Oh well all the static fields have small values, so
// lets send as literal header, indexed name.
// We don't need never indexed because the cookie fields are name only and we can
// huffman encode the value for the same reason.
// Add the token
buffer.put((byte)0x00);
// Add the name index
NBitInteger.encode(buffer,4,_context.index(entry));
// Add the value
buffer.put(entry.getStaticHuffmanValue());
encoding="LiteralStaticIdxNameHuffmanValue";
}
// TODO Copy?
// entry=_context.add(entry.getHttpField());
}
else
{
@ -244,7 +206,6 @@ public class HpackEncoder
int index=_context.index(entry);
buffer.put((byte)0x80);
NBitInteger.encode(buffer,7,index);
_context.addToRefSet(entry);
}
}
else
@ -335,11 +296,7 @@ public class HpackEncoder
// If we want the field referenced, then we add it to our
// table and reference set.
if (reference)
{
Entry new_entry=_context.add(field);
if (new_entry!=null)
_context.addToRefSet(new_entry);
}
_context.add(field);
}
if (p>=0)

View File

@ -215,26 +215,26 @@ public class HpackContextTest
// Add a single entry
entry[0]=ctx.add(field[0]);
// Check new entry is 1
// Check new entry is 62
assertEquals(1,ctx.size());
assertEquals(1,ctx.index(entry[0]));
assertEquals(entry[0],ctx.get(1));
assertEquals(62,ctx.index(entry[0]));
assertEquals(entry[0],ctx.get(62));
// and statics have moved up 1
assertEquals(":authority",ctx.get(1+1).getHttpField().getName());
assertEquals(3+1,ctx.index(ctx.get(methodPost)));
assertEquals(methodPost,ctx.get(3+1).getHttpField());
assertEquals("www-authenticate",ctx.get(61+1).getHttpField().getName());
assertEquals(null,ctx.get(62+1));
// and statics have moved up 0
assertEquals(":authority",ctx.get(1+0).getHttpField().getName());
assertEquals(3+0,ctx.index(ctx.get(methodPost)));
assertEquals(methodPost,ctx.get(3+0).getHttpField());
assertEquals("www-authenticate",ctx.get(61+0).getHttpField().getName());
assertEquals(null,ctx.get(62+0+ctx.size()));
// Add 4 more entries
for (int i=1;i<=4;i++)
entry[i]=ctx.add(field[i]);
// Check newest entry is at 1 oldest at 5
// Check newest entry is at 62 oldest at 66
assertEquals(5,ctx.size());
int index=5;
int index=66;
for (int i=0;i<=4;i++)
{
assertEquals(index,ctx.index(entry[i]));
@ -242,18 +242,18 @@ public class HpackContextTest
index--;
}
// and statics have moved up 5
assertEquals(":authority",ctx.get(1+5).getHttpField().getName());
assertEquals(3+5,ctx.index(ctx.get(methodPost)));
assertEquals(methodPost,ctx.get(3+5).getHttpField());
assertEquals("www-authenticate",ctx.get(61+5).getHttpField().getName());
assertEquals(null,ctx.get(62+5));
// and statics have moved up 0
assertEquals(":authority",ctx.get(1+0).getHttpField().getName());
assertEquals(3+0,ctx.index(ctx.get(methodPost)));
assertEquals(methodPost,ctx.get(3+0).getHttpField());
assertEquals("www-authenticate",ctx.get(61+0).getHttpField().getName());
assertEquals(null,ctx.get(62+0+ctx.size()));
// add 1 more entry and this should cause an eviction!
entry[5]=ctx.add(field[5]);
// Check newest entry is at 1 oldest at 5
index=5;
index=66;
for (int i=1;i<=5;i++)
{
assertEquals(index,ctx.index(entry[i]));
@ -264,19 +264,19 @@ public class HpackContextTest
assertNull(ctx.get(field[0]));
assertEquals(0,ctx.index(entry[0]));
// and statics have moved up just 5
assertEquals(":authority",ctx.get(1+5).getHttpField().getName());
assertEquals(3+5,ctx.index(ctx.get(methodPost)));
assertEquals(methodPost,ctx.get(3+5).getHttpField());
assertEquals("www-authenticate",ctx.get(61+5).getHttpField().getName());
assertEquals(null,ctx.get(62+5));
// and statics have moved up 0
assertEquals(":authority",ctx.get(1+0).getHttpField().getName());
assertEquals(3+0,ctx.index(ctx.get(methodPost)));
assertEquals(methodPost,ctx.get(3+0).getHttpField());
assertEquals("www-authenticate",ctx.get(61+0).getHttpField().getName());
assertEquals(null,ctx.get(62+0+ctx.size()));
// Add 4 more entries
for (int i=6;i<=9;i++)
entry[i]=ctx.add(field[i]);
// Check newest entry is at 1 oldest at 5
index=5;
index=66;
for (int i=5;i<=9;i++)
{
assertEquals(index,ctx.index(entry[i]));
@ -295,7 +295,7 @@ public class HpackContextTest
for (int i=10;i<=52;i++)
entry[i]=ctx.add(new HttpField("n"+i,"v"+i));
index=5;
index=66;
for (int i=48;i<=52;i++)
{
assertEquals(index,ctx.index(entry[i]));
@ -304,210 +304,6 @@ public class HpackContextTest
}
}
@Test
public void testRefSetAddStatic()
{
try
{
HpackContext ctx = new HpackContext(4096);
HttpField methodGet = new HttpField(":method","GET");
Entry entry = ctx.get(methodGet);
ctx.addToRefSet(entry);
fail();
}
catch(IllegalStateException e)
{}
}
@Test
public void testRefSetAddEvicted()
{
try
{
HpackContext ctx = new HpackContext(38);
HttpField field0 = new HttpField("foo","bar");
HttpField field1 = new HttpField("xxx","yyy");
Entry entry = ctx.add(field0);
ctx.add(field1);
ctx.addToRefSet(entry);
fail();
}
catch(IllegalStateException e)
{}
}
@Test
public void testRefSetEmptyIteration()
{
HpackContext ctx = new HpackContext(4096);
for (Entry entry: ctx.getReferenceSet() )
fail("unexpected:"+entry);
Iterator<Entry> iter = ctx.iterateReferenceSet();
assertFalse(iter.hasNext());
try
{
iter.next();
fail();
}
catch(NoSuchElementException e)
{
}
try
{
iter.remove();
fail();
}
catch(NoSuchElementException e)
{
}
}
@Test
public void testRefSet()
{
// Only enough space for 5 entries
HpackContext ctx = new HpackContext(38*5);
HttpField[] field =
{
new HttpField("fo0","b0r"),
new HttpField("fo1","b1r"),
new HttpField("fo2","b2r"),
new HttpField("fo3","b3r"),
new HttpField("fo4","b4r"),
new HttpField("fo5","b5r"),
new HttpField("fo6","b6r"),
new HttpField("fo7","b7r"),
new HttpField("fo8","b8r"),
new HttpField("fo9","b9r"),
new HttpField("foA","bAr"),
};
Entry[] entry = new Entry[field.length];
// Add 5 entries
for (int i=0;i<=4;i++)
entry[i]=ctx.add(field[i]);
// Add 3 entries to reference set
ctx.addToRefSet(ctx.get(3));
ctx.addToRefSet(ctx.get(1));
ctx.addToRefSet(ctx.get(5));
// check isInReferenceSet
assertTrue(ctx.get(1).isInReferenceSet());
assertFalse(ctx.get(2).isInReferenceSet());
assertTrue(ctx.get(3).isInReferenceSet());
assertFalse(ctx.get(4).isInReferenceSet());
assertTrue(ctx.get(5).isInReferenceSet());
// iterate ref set
HashSet<HttpField> fields = new HashSet<>();
for (Entry e: ctx.getReferenceSet() )
fields.add(e.getHttpField());
assertEquals(3,fields.size());
assertTrue(fields.contains(field[0]));
assertTrue(fields.contains(field[2]));
assertTrue(fields.contains(field[4]));
// duplicate add ignored
ctx.addToRefSet(ctx.get(1));
fields.clear();
for (Entry e: ctx.getReferenceSet() )
fields.add(e.getHttpField());
assertEquals(3,fields.size());
assertTrue(fields.contains(field[0]));
assertTrue(fields.contains(field[2]));
assertTrue(fields.contains(field[4]));
// remove entry
ctx.get(3).removeFromRefSet();
fields.clear();
for (Entry e: ctx.getReferenceSet() )
fields.add(e.getHttpField());
assertEquals(2,fields.size());
assertTrue(fields.contains(field[0]));
assertTrue(fields.contains(field[4]));
// check isInReferenceSet
assertTrue(ctx.get(1).isInReferenceSet());
assertFalse(ctx.get(2).isInReferenceSet());
assertFalse(ctx.get(3).isInReferenceSet());
assertFalse(ctx.get(4).isInReferenceSet());
assertTrue(ctx.get(5).isInReferenceSet());
// iterator remove
Iterator<Entry> iter=ctx.iterateReferenceSet();
iter.next();
iter.remove();
fields.clear();
for (Entry e: ctx.getReferenceSet() )
fields.add(e.getHttpField());
assertEquals(1,fields.size());
// Add 5 new entries to cause evictions
for (int i=5;i<=9;i++)
entry[i]=ctx.add(field[i]);
fields.clear();
for (Entry e: ctx.getReferenceSet() )
fields.add(e.getHttpField());
assertEquals(0,fields.size());
}
@Test
public void testRefSetClear()
{
// Only enough space for 5 entries
HpackContext ctx = new HpackContext(38*5);
HttpField[] field =
{
new HttpField("fo0","b0r"),
new HttpField("fo1","b1r"),
new HttpField("fo2","b2r"),
new HttpField("fo3","b3r"),
new HttpField("fo4","b4r"),
new HttpField("fo5","b5r"),
new HttpField("fo6","b6r"),
new HttpField("fo7","b7r"),
new HttpField("fo8","b8r"),
new HttpField("fo9","b9r"),
new HttpField("foA","bAr"),
};
Entry[] entry = new Entry[field.length];
// Add 5 entries
for (int i=0;i<=4;i++)
entry[i]=ctx.add(field[i]);
// Add 3 entries to reference set
ctx.clearReferenceSet();
ctx.addToRefSet(ctx.get(3));
ctx.addToRefSet(ctx.get(1));
ctx.addToRefSet(ctx.get(5));
// iterate ref set
HashSet<HttpField> fields = new HashSet<>();
for (Entry e: ctx.getReferenceSet() )
fields.add(e.getHttpField());
assertEquals(3,fields.size());
assertTrue(fields.contains(field[0]));
assertTrue(fields.contains(field[2]));
assertTrue(fields.contains(field[4]));
// Clear set
ctx.clearReferenceSet();
fields.clear();
for (Entry e: ctx.getReferenceSet() )
fields.add(e.getHttpField());
assertEquals(0,fields.size());
}
@Test
public void testResize()
@ -539,7 +335,7 @@ public class HpackContextTest
assertEquals(5,ctx.size());
// check indexes
int index=5;
int index=66;
for (int i=0;i<=4;i++)
{
assertEquals(index,ctx.index(entry[i]));
@ -547,89 +343,54 @@ public class HpackContextTest
index--;
}
// and statics have moved up 5
assertEquals(":authority",ctx.get(1+5).getHttpField().getName());
assertEquals(3+5,ctx.index(ctx.get(methodPost)));
assertEquals(methodPost,ctx.get(3+5).getHttpField());
assertEquals("www-authenticate",ctx.get(61+5).getHttpField().getName());
assertEquals(null,ctx.get(62+5));
// and statics have moved up 0
assertEquals(":authority",ctx.get(1+0).getHttpField().getName());
assertEquals(3+0,ctx.index(ctx.get(methodPost)));
assertEquals(methodPost,ctx.get(3+0).getHttpField());
assertEquals("www-authenticate",ctx.get(61+0).getHttpField().getName());
assertEquals(null,ctx.get(62+ctx.size()));
// Add 3 entries to reference set
ctx.addToRefSet(ctx.get(3));
ctx.addToRefSet(ctx.get(1));
ctx.addToRefSet(ctx.get(5));
// iterate ref set
HashSet<HttpField> fields = new HashSet<>();
for (Entry e: ctx.getReferenceSet() )
fields.add(e.getHttpField());
assertEquals(3,fields.size());
assertTrue(fields.contains(field[0]));
assertTrue(fields.contains(field[2]));
assertTrue(fields.contains(field[4]));
// resize so that only 2 entries may be held
ctx.resize(38*2);
assertEquals(2,ctx.size());
// check indexes
index=2;
index=63;
for (int i=3;i<=4;i++)
{
assertEquals(index,ctx.index(entry[i]));
assertEquals(entry[i],ctx.get(index));
index--;
}
// and statics have moved up 2
assertEquals(":authority",ctx.get(1+2).getHttpField().getName());
assertEquals(3+2,ctx.index(ctx.get(methodPost)));
assertEquals(methodPost,ctx.get(3+2).getHttpField());
assertEquals("www-authenticate",ctx.get(61+2).getHttpField().getName());
assertEquals(null,ctx.get(62+2));
// check reference set
fields.clear();
for (Entry e: ctx.getReferenceSet() )
fields.add(e.getHttpField());
assertEquals(1,fields.size());
assertFalse(fields.contains(field[0]));
assertFalse(fields.contains(field[2]));
assertTrue(fields.contains(field[4]));
// and statics have moved up 0
assertEquals(":authority",ctx.get(1+0).getHttpField().getName());
assertEquals(3+0,ctx.index(ctx.get(methodPost)));
assertEquals(methodPost,ctx.get(3+0).getHttpField());
assertEquals("www-authenticate",ctx.get(61+0).getHttpField().getName());
assertEquals(null,ctx.get(62+ctx.size()));
// resize so that 6.5 entries may be held
ctx.resize(38*6+19);
assertEquals(2,ctx.size());
// check indexes
index=2;
index=63;
for (int i=3;i<=4;i++)
{
assertEquals(index,ctx.index(entry[i]));
assertEquals(entry[i],ctx.get(index));
index--;
}
// and statics have moved up 2
assertEquals(":authority",ctx.get(1+2).getHttpField().getName());
assertEquals(3+2,ctx.index(ctx.get(methodPost)));
assertEquals(methodPost,ctx.get(3+2).getHttpField());
assertEquals("www-authenticate",ctx.get(61+2).getHttpField().getName());
assertEquals(null,ctx.get(62+2));
// check reference set
fields.clear();
for (Entry e: ctx.getReferenceSet() )
fields.add(e.getHttpField());
assertEquals(1,fields.size());
assertFalse(fields.contains(field[0]));
assertFalse(fields.contains(field[2]));
assertTrue(fields.contains(field[4]));
// and statics have moved up 0
assertEquals(":authority",ctx.get(1+0).getHttpField().getName());
assertEquals(3+0,ctx.index(ctx.get(methodPost)));
assertEquals(methodPost,ctx.get(3+0).getHttpField());
assertEquals("www-authenticate",ctx.get(61+0).getHttpField().getName());
assertEquals(null,ctx.get(62+ctx.size()));
// Add 5 entries
@ -639,29 +400,21 @@ public class HpackContextTest
assertEquals(6,ctx.size());
// check indexes
index=6;
index=67;
for (int i=4;i<=9;i++)
{
assertEquals(index,ctx.index(entry[i]));
assertEquals(entry[i],ctx.get(index));
index--;
}
// and statics have moved up 0
assertEquals(":authority",ctx.get(1+0).getHttpField().getName());
assertEquals(3+0,ctx.index(ctx.get(methodPost)));
assertEquals(methodPost,ctx.get(3+0).getHttpField());
assertEquals("www-authenticate",ctx.get(61+0).getHttpField().getName());
assertEquals(null,ctx.get(62+ctx.size()));
// and statics have moved up 6
assertEquals(":authority",ctx.get(1+6).getHttpField().getName());
assertEquals(3+6,ctx.index(ctx.get(methodPost)));
assertEquals(methodPost,ctx.get(3+6).getHttpField());
assertEquals("www-authenticate",ctx.get(61+6).getHttpField().getName());
assertEquals(null,ctx.get(62+6));
// check reference set
fields.clear();
for (Entry e: ctx.getReferenceSet() )
fields.add(e.getHttpField());
assertEquals(1,fields.size());
assertFalse(fields.contains(field[0]));
assertFalse(fields.contains(field[2]));
assertTrue(fields.contains(field[4]));
}
@Test

View File

@ -27,6 +27,7 @@ import org.eclipse.jetty.http.HttpMethod;
import org.eclipse.jetty.http.HttpScheme;
import org.eclipse.jetty.http.MetaData;
import org.eclipse.jetty.util.TypeUtil;
import org.junit.Ignore;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
@ -41,6 +42,7 @@ public class HpackDecoderTest
{
@Test
@Ignore
public void testDecodeD_3()
{
HpackDecoder decoder = new HpackDecoder(4096,8192);
@ -91,6 +93,7 @@ public class HpackDecoderTest
}
@Test
@Ignore
public void testDecodeD_4()
{
HpackDecoder decoder = new HpackDecoder(4096,8192);

View File

@ -79,34 +79,15 @@ public class HpackEncoderTest
// All are in the header table
Assert.assertEquals(4,encoder.getContext().size());
// All are in the reference set
HashSet<HttpField> refSet = new HashSet<>();
for (Entry entry : encoder.getContext().getReferenceSet())
refSet.add(entry.getHttpField());
Assert.assertEquals(4,refSet.size());
for (int i=0;i<=3;i++)
Assert.assertTrue(refSet.contains(field[i]));
// encode exact same fields again!
BufferUtil.clearToFill(buffer);
encoder.encode(buffer,new FinalMetaData(HttpVersion.HTTP_2,fields));
BufferUtil.flipToFlush(buffer,0);
// nothing should be encoded!
assertThat(buffer.remaining(),Matchers.is(0));
// All are in the header table
Assert.assertEquals(4,encoder.getContext().size());
// All are in the reference set
refSet.clear();
for (Entry entry : encoder.getContext().getReferenceSet())
refSet.add(entry.getHttpField());
Assert.assertEquals(4,refSet.size());
for (int i=0;i<=3;i++)
Assert.assertTrue(refSet.contains(field[i]));
// Add 4 more fields
for (int i=4;i<=7;i++)
fields.add(field[i]);
@ -122,14 +103,6 @@ public class HpackEncoderTest
// max header table size reached
Assert.assertEquals(5,encoder.getContext().size());
// last 5 in reference set
refSet.clear();
for (Entry entry : encoder.getContext().getReferenceSet())
refSet.add(entry.getHttpField());
Assert.assertEquals(5,refSet.size());
for (int i=3;i<=7;i++)
Assert.assertTrue(refSet.contains(field[i]));
// remove some fields
for (int i=0;i<=7;i+=2)
@ -146,18 +119,6 @@ public class HpackEncoderTest
// max header table size reached
Assert.assertEquals(5,encoder.getContext().size());
// last 5 in reference set
refSet.clear();
for (Entry entry : encoder.getContext().getReferenceSet())
refSet.add(entry.getHttpField());
Assert.assertEquals(4,refSet.size());
for (int i=0;i<=7;i++)
{
if (i%2==1)
Assert.assertTrue(refSet.contains(field[i]));
else
Assert.assertFalse(refSet.contains(field[i]));
}
// remove another fields
fields.remove(field[1].getName());
@ -173,18 +134,6 @@ public class HpackEncoderTest
// max header table size reached
Assert.assertEquals(5,encoder.getContext().size());
// last 5 in reference set
refSet.clear();
for (Entry entry : encoder.getContext().getReferenceSet())
refSet.add(entry.getHttpField());
Assert.assertEquals(3,refSet.size());
for (int i=2;i<=7;i++)
{
if (i%2==1)
Assert.assertTrue(refSet.contains(field[i]));
else
Assert.assertFalse(refSet.contains(field[i]));
}
// re add the field
@ -201,40 +150,8 @@ public class HpackEncoderTest
// max header table size reached
Assert.assertEquals(5,encoder.getContext().size());
// last 5 in reference set
refSet.clear();
for (Entry entry : encoder.getContext().getReferenceSet())
refSet.add(entry.getHttpField());
Assert.assertEquals(4,refSet.size());
for (int i=0;i<=7;i++)
{
if (i%2==1)
Assert.assertTrue(refSet.contains(field[i]));
else
Assert.assertFalse(refSet.contains(field[i]));
}
}
@Test
public void testDoNotReferenceStatics()
{
HpackEncoder encoder = new HpackEncoder(38*5);
ByteBuffer buffer = BufferUtil.allocate(4096);
HttpFields fields = new HttpFields();
fields.put(":method","POST");
// encode
BufferUtil.clearToFill(buffer);
encoder.encode(buffer,new FinalMetaData(HttpVersion.HTTP_2,fields));
BufferUtil.flipToFlush(buffer,0);
// something was encoded!
assertThat(buffer.remaining(),Matchers.greaterThan(0));
// empty header table
Assert.assertEquals(0,encoder.getContext().size());
}
@Test
public void testNeverIndexSetCookie()

View File

@ -0,0 +1,133 @@
//
// ========================================================================
// Copyright (c) 1995-2014 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Eclipse Public License v1.0
// and Apache License v2.0 which accompanies this distribution.
//
// The Eclipse Public License is available at
// http://www.eclipse.org/legal/epl-v10.html
//
// The Apache License v2.0 is available at
// http://www.opensource.org/licenses/apache2.0.php
//
// You may elect to redistribute this code under either of these licenses.
// ========================================================================
//
package org.eclipse.jetty.http2.hpack;
import java.io.File;
import java.io.FileReader;
import java.io.FilenameFilter;
import java.nio.ByteBuffer;
import java.util.Map;
import org.eclipse.jetty.http.FinalMetaData;
import org.eclipse.jetty.http.HttpFields;
import org.eclipse.jetty.http.HttpVersion;
import org.eclipse.jetty.toolchain.test.MavenTestingUtils;
import org.eclipse.jetty.util.BufferUtil;
import org.eclipse.jetty.util.ajax.JSON;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
public class HpackPerfTest
{
int _maxHeaderTableSize=16*1024;
int _unencodedSize;
int _encodedSize;
@Before
public void before()
{
_unencodedSize=0;
_encodedSize=0;
}
@After
public void after()
{
System.err.printf("headertable=%d unencoded=%d encoded=%d%n",_maxHeaderTableSize,_unencodedSize,_encodedSize);
}
@Test
public void simpleTest() throws Exception
{
runStories(_maxHeaderTableSize,new HpackEncoder(_maxHeaderTableSize,_maxHeaderTableSize));
}
private void runStories(int maxHeaderTableSize, HpackEncoder encoder) throws Exception
{
// Find files
File data = MavenTestingUtils.getTestResourceDir("data");
String[] files = data.list(new FilenameFilter()
{
@Override
public boolean accept(File dir, String name)
{
return name.startsWith("story_");
}
});
// Parse JSON
Map<String,Object>[] stories = new Map[files.length];
int i=0;
for (String story : files)
stories[i++]=(Map<String,Object>)JSON.parse(new FileReader(new File(data,story)));
ByteBuffer buffer = BufferUtil.allocate(256*1024);
// Encode all the requests
encodeStories(buffer,stories,"request",encoder);
// clear table
BufferUtil.clearToFill(buffer);
encoder.encodeMaxHeaderTableSize(buffer,0);
encoder.encodeMaxHeaderTableSize(buffer,maxHeaderTableSize);
BufferUtil.flipToFlush(buffer,0);
// Encode all the responses
encodeStories(buffer,stories,"response",encoder);
}
private void encodeStories(ByteBuffer buffer,Map<String,Object>[] stories, String type, HpackEncoder encoder) throws Exception
{
for (Map<String,Object> story : stories)
{
if (type.equals(story.get("context")))
{
// System.err.println(story);
Object[] cases = (Object[])story.get("cases");
for (Object c : cases)
{
// System.err.println(" "+c);
Object[] headers = (Object[])((Map<String,Object>)c).get("headers");
// System.err.println(" "+headers);
HttpFields fields = new HttpFields();
for (Object header:headers)
{
Map<String,String> h = (Map<String,String>)header;
Map.Entry<String, String> e = h.entrySet().iterator().next();
fields.add(e.getKey(),e.getValue());
_unencodedSize+=e.getKey().length()+e.getValue().length();
}
BufferUtil.clearToFill(buffer);
encoder.encode(buffer,new FinalMetaData(HttpVersion.HTTP_2,fields));
BufferUtil.flipToFlush(buffer,0);
_encodedSize+=buffer.remaining();
}
}
}
}
}

View File

@ -0,0 +1,53 @@
{
"context": "request",
"cases": [
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "yahoo.co.jp"
},
{
":path": "/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.yahoo.co.jp"
},
{
":path": "/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "k.yimg.jp"
},
{
":path": "/images/top/sp2/cmn/logo-ns-130528.png"
}
]
}
]
}

View File

@ -0,0 +1,52 @@
{
"context": "request",
"cases": [
{
"headers": [
{
":scheme": "https"
},
{
":authority": "example.com"
},
{
":path": "/"
},
{
":method": "GET"
},
{
"user-agent": "hpack-test"
},
{
"cookie": "xxxxxxx1"
},
{
"x-hello": "world"
}
]
},
{
"headers": [
{
":scheme": "https"
},
{
":authority": "example.com"
},
{
":path": "/"
},
{
":method": "GET"
},
{
"user-agent": "hpack-test"
},
{
"cookie": "xxxxxxx2"
}
]
}
]
}

View File

@ -0,0 +1,339 @@
{
"context": "request",
"cases": [
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "amazon.com"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "g-ecx.images-amazon.com"
},
{
":path": "/images/G/01/gno/beacon/BeaconSprite-US-01._V401903535_.png"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.amazon.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "g-ecx.images-amazon.com"
},
{
":path": "/images/G/01/x-locale/common/transparent-pixel._V386942464_.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.amazon.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "g-ecx.images-amazon.com"
},
{
":path": "/images/G/01/img12/other/disaster-relief/300-column/sandy-relief_300x75._V400689491_.png"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.amazon.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.amazon.com"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "g-ecx.images-amazon.com"
},
{
":path": "/images/G/01/x-locale/common/transparent-pixel._V192234675_.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.amazon.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "g-ecx.images-amazon.com"
},
{
":path": "/images/G/01/img12/shoes/sales_events/11_nov/1030_AccessoriesPROMO_GWright._V400626950_.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.amazon.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "g-ecx.images-amazon.com"
},
{
":path": "/images/G/01/Automotive/rotos/Duracell600_120._V192204764_.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.amazon.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "g-ecx.images-amazon.com"
},
{
":path": "/images/G/01/ui/loadIndicators/loadIndicator-large._V192195480_.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.amazon.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "ecx.images-amazon.com"
},
{
":path": "/images/I/41HZ-ND-SUL._SL135_.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.amazon.com/"
}
]
}
]
}

View File

@ -0,0 +1,342 @@
{
"context": "request",
"cases": [
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "baidu.com"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "baidu.com"
},
{
":path": "/favicon.ico"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.baidu.com"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.baidu.com"
},
{
":path": "/img/baidu_sylogo1.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.baidu.com/"
},
{
"cookie": "BAIDUID=B6136AC10EBE0A8FCD216EB64C4C1A5C:FG=1"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.baidu.com"
},
{
":path": "/cache/global/img/gs.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.baidu.com/"
},
{
"cookie": "BAIDUID=B6136AC10EBE0A8FCD216EB64C4C1A5C:FG=1"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "s1.bdstatic.com"
},
{
":path": "/r/www/cache/global/js/tangram-1.3.4c1.0.js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.baidu.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "s1.bdstatic.com"
},
{
":path": "/r/www/cache/global/js/home-1.8.js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.baidu.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "s1.bdstatic.com"
},
{
":path": "/r/www/cache/user/js/u-1.3.4.js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.baidu.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "s1.bdstatic.com"
},
{
":path": "/r/www/img/i-1.0.0.png"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.baidu.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.baidu.com"
},
{
":path": "/favicon.ico"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"cookie": "BAIDUID=B6136AC10EBE0A8FCD216EB64C4C1A5C:FG=1"
}
]
}
]
}

View File

@ -0,0 +1,342 @@
{
"context": "request",
"cases": [
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "baidu.com"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "baidu.com"
},
{
":path": "/favicon.ico"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.baidu.com"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.baidu.com"
},
{
":path": "/img/baidu_sylogo1.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.baidu.com/"
},
{
"cookie": "BAIDUID=B6136AC10EBE0A8FCD216EB64C4C1A5C:FG=1"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.baidu.com"
},
{
":path": "/cache/global/img/gs.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.baidu.com/"
},
{
"cookie": "BAIDUID=B6136AC10EBE0A8FCD216EB64C4C1A5C:FG=1"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "s1.bdstatic.com"
},
{
":path": "/r/www/cache/global/js/tangram-1.3.4c1.0.js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.baidu.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "s1.bdstatic.com"
},
{
":path": "/r/www/cache/global/js/home-1.8.js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.baidu.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "s1.bdstatic.com"
},
{
":path": "/r/www/cache/user/js/u-1.3.4.js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.baidu.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "s1.bdstatic.com"
},
{
":path": "/r/www/img/i-1.0.0.png"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.baidu.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.baidu.com"
},
{
":path": "/favicon.ico"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"cookie": "BAIDUID=B6136AC10EBE0A8FCD216EB64C4C1A5C:FG=1"
}
]
}
]
}

View File

@ -0,0 +1,366 @@
{
"context": "request",
"cases": [
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "geo.craigslist.org"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"cookie": "cl_b=AB2BKbsl4hGM7M4nH5PYWghTM5A"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.craigslist.org"
},
{
":path": "/about/sites/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"cookie": "cl_b=AB2BKbsl4hGM7M4nH5PYWghTM5A"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.craigslist.org"
},
{
":path": "/styles/countries.css"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/css,*/*;q=0.1"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.craigslist.org/about/sites/"
},
{
"cookie": "cl_b=AB2BKbsl4hGM7M4nH5PYWghTM5A"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.craigslist.org"
},
{
":path": "/js/formats.js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.craigslist.org/about/sites/"
},
{
"cookie": "cl_b=AB2BKbsl4hGM7M4nH5PYWghTM5A"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.craigslist.org"
},
{
":path": "/js/jquery-1.4.2.js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.craigslist.org/about/sites/"
},
{
"cookie": "cl_b=AB2BKbsl4hGM7M4nH5PYWghTM5A"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.craigslist.org"
},
{
":path": "/favicon.ico"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"cookie": "cl_b=AB2BKbsl4hGM7M4nH5PYWghTM5A"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "shoals.craigslist.org"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.craigslist.org/about/sites/"
},
{
"cookie": "cl_b=AB2BKbsl4hGM7M4nH5PYWghTM5A"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.craigslist.org"
},
{
":path": "/styles/craigslist.css"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/css,*/*;q=0.1"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://shoals.craigslist.org/"
},
{
"cookie": "cl_b=AB2BKbsl4hGM7M4nH5PYWghTM5A; cl_def_lang=en; cl_def_hp=shoals"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.craigslist.org"
},
{
":path": "/js/formats.js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://shoals.craigslist.org/"
},
{
"cookie": "cl_b=AB2BKbsl4hGM7M4nH5PYWghTM5A; cl_def_lang=en; cl_def_hp=shoals"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.craigslist.org"
},
{
":path": "/js/homepage.js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://shoals.craigslist.org/"
},
{
"cookie": "cl_b=AB2BKbsl4hGM7M4nH5PYWghTM5A; cl_def_lang=en; cl_def_hp=shoals"
}
]
}
]
}

View File

@ -0,0 +1,342 @@
{
"context": "request",
"cases": [
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "ebay.com"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.ebay.com"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "ebay-stories.com"
},
{
":path": "/wp-content/uploads/2012/11/Iso-65.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.ebay.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "rover.ebay.com"
},
{
":path": "/roversync/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.ebay.com/"
},
{
"cookie": "ebay=%5Esbf%3D%23%5E; dp1=bpbf/%238000000000005276504d^u1p/QEBfX0BAX19AQA**5276504d^; cssg=c67883f113a0a56964e646c6ffaa1abe; s=CgAD4ACBQlm5NYzY3ODgzZjExM2EwYTU2OTY0ZTY0NmM2ZmZhYTFhYmUBSgAYUJZuTTUwOTUxY2NkLjAuMS4zLjE1MS4zLjAuMeN+7JE*; nonsession=CgAFMABhSdlBNNTA5NTFjY2QuMC4xLjEuMTQ5LjMuMC4xAMoAIFn7Hk1jNjc4ODNmMTEzYTBhNTY5NjRlNjQ2YzZmZmFhMWFjMQDLAAFQlSPVMX8u5Z8*"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "p.ebaystatic.com"
},
{
":path": "/aw/pics/s.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.ebay.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "p.ebaystatic.com"
},
{
":path": "/aw/pics/mops/2012_doodles/Holiday/DS3/ImgWeek_1_Penguin_Small_150x30.png"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.ebay.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "p.ebaystatic.com"
},
{
":path": "/aw/pics/globalHeader/facebook/g12.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.ebay.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "p.ebaystatic.com"
},
{
":path": "/aw/pics/globalHeader/twitter/g12.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.ebay.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "p.ebaystatic.com"
},
{
":path": "/aw/pics/globalHeader/icon_mobile_gray_11x16.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.ebay.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "srx.main.ebayrtm.com"
},
{
":path": "/rtm"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.ebay.com/"
}
]
}
]
}

View File

@ -0,0 +1,345 @@
{
"context": "request",
"cases": [
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "static.ak.fbcdn.net"
},
{
":path": "/rsrc.php/v2/yb/r/GsNJNwuI-UM.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.facebook.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "static.ak.fbcdn.net"
},
{
":path": "/rsrc.php/v2/yY/r/u8iA3kXb8Y1.css"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/css,*/*;q=0.1"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.facebook.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "static.ak.fbcdn.net"
},
{
":path": "/rsrc.php/v2/yI/r/qANVTsC52fp.css"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/css,*/*;q=0.1"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.facebook.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "static.ak.fbcdn.net"
},
{
":path": "/rsrc.php/v2/yt/r/FZaMKqARgC6.png"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.facebook.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "static.ak.fbcdn.net"
},
{
":path": "/rsrc.php/v2/yZ/r/jlKDoX15kHG.js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.facebook.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "static.ak.fbcdn.net"
},
{
":path": "/rsrc.php/v2/yO/r/_MRarphcCIq.css"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/css,*/*;q=0.1"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.facebook.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "static.ak.fbcdn.net"
},
{
":path": "/rsrc.php/v2/yP/r/CRkiDDWTd1u.js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.facebook.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "static.ak.fbcdn.net"
},
{
":path": "/rsrc.php/v2/yX/x/Qq6L1haQrYr.png"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://static.ak.fbcdn.net/rsrc.php/v2/yI/r/qANVTsC52fp.css"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "static.ak.fbcdn.net"
},
{
":path": "/rsrc.php/v2/yN/r/EarbWo_mDU-.js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.facebook.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "static.ak.fbcdn.net"
},
{
":path": "/rsrc.php/v2/y7/x/9jt7oVdF7z3.png"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://static.ak.fbcdn.net/rsrc.php/v2/yO/r/_MRarphcCIq.css"
}
]
}
]
}

View File

@ -0,0 +1,363 @@
{
"context": "request",
"cases": [
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "flickr.com"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.flickr.com"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"cookie": "BX=c99r6jp89a7no&b=3&s=q4; localization=en-us%3Bus%3Bus"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "us.adserver.yahoo.com"
},
{
":path": "/a"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.flickr.com/"
},
{
"cookie": "B=4m2rqu589a507&b=3&s=1v; k_visit=1; MSC=t=1351947310X; CH=AgBQlRQgADwDIAAbDSAAGrIgADpuIAAoriAALMQgAAs0IAA7CCAAJ0MgABo3; ucs=bnas=0"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.flickr.com"
},
{
":path": "/images/share-this-icons-sprite.png.v6"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"cookie": "BX=c99r6jp89a7no&b=3&s=q4; localization=en-us%3Bus%3Bus"
},
{
"referer": "http://www.flickr.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.flickr.com"
},
{
":path": "/images/flickr-sprite.png.v4"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.flickr.com/"
},
{
"cookie": "BX=c99r6jp89a7no&b=3&s=q4; localization=en-us%3Bus%3Bus"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.flickr.com"
},
{
":path": "/flanal_event.gne"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"cookie": "BX=c99r6jp89a7no&b=3&s=q4; localization=en-us%3Bus%3Bus; ywadp10001561398679=1956875541"
},
{
"referer": "http://www.flickr.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "y.analytics.yahoo.com"
},
{
":path": "/fpc.pl"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.flickr.com/"
},
{
"cookie": "B=4m2rqu589a507&b=3&s=1v; k_visit=1; MSC=t=1351947310X; CH=AgBQlRQgADwDIAAbDSAAGrIgADpuIAAoriAALMQgAAs0IAA7CCAAJ0MgABo3; ucs=bnas=0"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "d.yimg.com"
},
{
":path": "/ce/soup/soup_generated_fragment.gne"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.flickr.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "geo.yahoo.com"
},
{
":path": "/b"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.flickr.com/"
},
{
"cookie": "B=4m2rqu589a507&b=3&s=1v; k_visit=1; MSC=t=1351947310X; CH=AgBQlRQgADwDIAAbDSAAGrIgADpuIAAoriAALMQgAAs0IAA7CCAAJ0MgABo3; ucs=bnas=0"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.flickr.com"
},
{
":path": "/photos/nasacommons/4940913342/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"cookie": "BX=c99r6jp89a7no&b=3&s=q4; localization=en-us%3Bus%3Bus; ywadp10001561398679=1956875541; fl_v=souhp; fpc10001561398679=Qvv1ikW_|aUqazlyMaa|fses10001561398679=|aUqazlyMaa|Qvv1ikW_|fvis10001561398679=Zj1odHRwJTNBJTJGJTJGd3d3LmZsaWNrci5jb20lMkYmdD0xMzUxOTUwMDc1JmI9JTJGaW5kZXhfc291cC5nbmU=|8M1871YYH0|8M1871YYH0|8M1871YYH0|8|8M1871YYH0|8M1871YYH0"
},
{
"referer": "http://www.flickr.com/"
}
]
}
]
}

View File

@ -0,0 +1,345 @@
{
"context": "request",
"cases": [
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "linkedin.com"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.linkedin.com"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "s.c.lnkd.licdn.com"
},
{
":path": "/scds/concat/common/js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.linkedin.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "s.c.lnkd.licdn.com"
},
{
":path": "/scds/concat/common/css"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/css,*/*;q=0.1"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.linkedin.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "s.c.lnkd.licdn.com"
},
{
":path": "/scds/concat/common/js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.linkedin.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "s.c.lnkd.licdn.com"
},
{
":path": "/scds/concat/common/css"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/css,*/*;q=0.1"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.linkedin.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "s.c.lnkd.licdn.com"
},
{
":path": "/scds/concat/common/css"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/css,*/*;q=0.1"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.linkedin.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "s.c.lnkd.licdn.com"
},
{
":path": "/scds/concat/common/js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.linkedin.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.linkedin.com"
},
{
":path": "/analytics/noauthtracker"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"x-requested-with": "XMLHttpRequest"
},
{
"referer": "http://www.linkedin.com/"
},
{
"cookie": "bcookie=\"v=2&bae845a5-83ed-4590-becf-f0f3d586432b\"; leo_auth_token=\"GST:UDbWFFpLLdcS6gHJ7NJa3XYRsc7W_gDwutbWnlWLfo7G_2Y4jfLH-H:1351948419:4b5c0f1309310a9b659b97d8960e64fdd635526b\"; JSESSIONID=\"ajax:0608630266152992729\"; visit=\"v=1&G\"; X-LI-IDC=C1"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "s.c.lnkd.licdn.com"
},
{
":path": "/scds/common/u/img/favicon_v3.ico"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.linkedin.com/"
}
]
}
]
}

View File

@ -0,0 +1,339 @@
{
"context": "request",
"cases": [
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "msn.com"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.msn.com"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "ads1.msads.net"
},
{
":path": "/library/primedns.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.msn.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "col.stj.s-msn.com"
},
{
":path": "/primedns.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.msn.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "blu.stc.s-msn.com"
},
{
":path": "/as/wea3/i/en-us/law/39.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.msn.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "col.stj.s-msn.com"
},
{
":path": "/primedns.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.msn.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "col.stc.s-msn.com"
},
{
":path": "/br/sc/i/ff/adchoices_gif2.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.msn.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "col.stb00.s-msn.com"
},
{
":path": "/i/80/53CAC6A10B6248682CF221B24A92.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.msn.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "col.stb01.s-msn.com"
},
{
":path": "/i/E0/A6C312635EF0A355668C820EB5343.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.msn.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "col.stb00.s-msn.com"
},
{
":path": "/i/BB/B1F619A1AD4D4AA6B0648BDBBCDEED.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.msn.com/"
}
]
}
]
}

View File

@ -0,0 +1,369 @@
{
"context": "request",
"cases": [
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "nytimes.com"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "t.pointroll.com"
},
{
":path": "/PointRoll/Track/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.bbc.co.uk/news/business-20178000"
},
{
"cookie": "PRbu=EzZdduhgq; PRgo=BBBAAFMnA; PRti4CD975E46CAEA=B"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "t.pointroll.com"
},
{
":path": "/PointRoll/Track/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.bbc.co.uk/news/business-20178000"
},
{
"cookie": "PRbu=EzZdduhgq; PRgo=BBBAAFMnA; PRti4CD975E46CAEA=B"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "graphics8.nytimes.com"
},
{
":path": "/packages/css/multimedia/bundles/projects/2012/HPLiveDebateFlex.css"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/css,*/*;q=0.1"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.nytimes.com/"
},
{
"cookie": "RMID=007f010022166047bee9002b; adxcs=-"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "graphics8.nytimes.com"
},
{
":path": "/js/app/common/slideshow/embeddedSlideshowBuilder.js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.nytimes.com/"
},
{
"cookie": "RMID=007f010022166047bee9002b; adxcs=-"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "graphics8.nytimes.com"
},
{
":path": "/css/0.1/screen/slideshow/modules/slidingGallery.css"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/css,*/*;q=0.1"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.nytimes.com/"
},
{
"cookie": "RMID=007f010022166047bee9002b; adxcs=-"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "graphics8.nytimes.com"
},
{
":path": "/adx/images/ADS/31/46/ad.314668/NYT_MBM_IPHON_LEFT_Oct11.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.nytimes.com/"
},
{
"cookie": "RMID=007f010022166047bee9002b; adxcs=-"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "graphics8.nytimes.com"
},
{
":path": "/packages/js/multimedia/bundles/projects/2012/HPLiveDebateFlex.js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.nytimes.com/"
},
{
"cookie": "RMID=007f010022166047bee9002b; adxcs=-"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "graphics8.nytimes.com"
},
{
":path": "/packages/js/multimedia/data/FilmStripPromo/2012_election_filmstrip.js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.nytimes.com/"
},
{
"cookie": "RMID=007f010022166047bee9002b; adxcs=-"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "graphics8.nytimes.com"
},
{
":path": "/packages/js/elections/2012/debates/videostrip/filmstrip.css"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/css,*/*;q=0.1"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.nytimes.com/"
},
{
"cookie": "RMID=007f010022166047bee9002b; adxcs=-"
}
]
}
]
}

View File

@ -0,0 +1,369 @@
{
"context": "request",
"cases": [
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "pinterest.com"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "media-cache-lt0.pinterest.com"
},
{
":path": "/upload/164311086374323731_DhZSfIfc_b.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://pinterest.com/"
},
{
"cookie": "_pinterest_sess=\"eJyLMnSMyghISi53cnEMyqgo9ElPya0M1jdw9/S0tY8vycxNtfUN8TX0Dck28A9JrvQPtLVVK04tLs5MsfXM9az0C3HKicpKN/JzSa/yrQrKiswKNY3MijSJzMrI8M1KN/bNDTT1rQo08Uy3tQUAm3EkCA==\""
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "media-cache-lt0.pinterest.com"
},
{
":path": "/upload/161637074097583855_SNjDRMKe_b.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://pinterest.com/"
},
{
"cookie": "_pinterest_sess=\"eJyLMnSMyghISi53cnEMyqgo9ElPya0M1jdw9/S0tY8vycxNtfUN8TX0Dck28A9JrvQPtLVVK04tLs5MsfXM9az0C3HKicpKN/JzSa/yrQrKiswKNY3MijSJzMrI8M1KN/bNDTT1rQo08Uy3tQUAm3EkCA==\""
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "media-cache-lt0.pinterest.com"
},
{
":path": "/upload/273593746083022624_FCoEkXsC_b.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://pinterest.com/"
},
{
"cookie": "_pinterest_sess=\"eJyLMnSMyghISi53cnEMyqgo9ElPya0M1jdw9/S0tY8vycxNtfUN8TX0Dck28A9JrvQPtLVVK04tLs5MsfXM9az0C3HKicpKN/JzSa/yrQrKiswKNY3MijSJzMrI8M1KN/bNDTT1rQo08Uy3tQUAm3EkCA==\""
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "media-cache-lt0.pinterest.com"
},
{
":path": "/upload/52917364342893663_qtPmJgkx_b.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://pinterest.com/"
},
{
"cookie": "_pinterest_sess=\"eJyLMnSMyghISi53cnEMyqgo9ElPya0M1jdw9/S0tY8vycxNtfUN8TX0Dck28A9JrvQPtLVVK04tLs5MsfXM9az0C3HKicpKN/JzSa/yrQrKiswKNY3MijSJzMrI8M1KN/bNDTT1rQo08Uy3tQUAm3EkCA==\""
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "media-cache-lt0.pinterest.com"
},
{
":path": "/upload/116952921544035902_KyTWinzm_b.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://pinterest.com/"
},
{
"cookie": "_pinterest_sess=\"eJyLMnSMyghISi53cnEMyqgo9ElPya0M1jdw9/S0tY8vycxNtfUN8TX0Dck28A9JrvQPtLVVK04tLs5MsfXM9az0C3HKicpKN/JzSa/yrQrKiswKNY3MijSJzMrI8M1KN/bNDTT1rQo08Uy3tQUAm3EkCA==\""
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "media-cache-lt0.pinterest.com"
},
{
":path": "/upload/283445370267774252_AttBMVfT_b.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://pinterest.com/"
},
{
"cookie": "_pinterest_sess=\"eJyLMnSMyghISi53cnEMyqgo9ElPya0M1jdw9/S0tY8vycxNtfUN8TX0Dck28A9JrvQPtLVVK04tLs5MsfXM9az0C3HKicpKN/JzSa/yrQrKiswKNY3MijSJzMrI8M1KN/bNDTT1rQo08Uy3tQUAm3EkCA==\""
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "media-cache-lt0.pinterest.com"
},
{
":path": "/upload/237142736599025827_ufDEHdRe_b.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://pinterest.com/"
},
{
"cookie": "_pinterest_sess=\"eJyLMnSMyghISi53cnEMyqgo9ElPya0M1jdw9/S0tY8vycxNtfUN8TX0Dck28A9JrvQPtLVVK04tLs5MsfXM9az0C3HKicpKN/JzSa/yrQrKiswKNY3MijSJzMrI8M1KN/bNDTT1rQo08Uy3tQUAm3EkCA==\""
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "media-cache-lt0.pinterest.com"
},
{
":path": "/upload/224194887669533381_UBmi659g_b.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://pinterest.com/"
},
{
"cookie": "_pinterest_sess=\"eJyLMnSMyghISi53cnEMyqgo9ElPya0M1jdw9/S0tY8vycxNtfUN8TX0Dck28A9JrvQPtLVVK04tLs5MsfXM9az0C3HKicpKN/JzSa/yrQrKiswKNY3MijSJzMrI8M1KN/bNDTT1rQo08Uy3tQUAm3EkCA==\""
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "media-cache-lt0.pinterest.com"
},
{
":path": "/upload/274156696036479907_A1ezgnsj_b.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://pinterest.com/"
},
{
"cookie": "_pinterest_sess=\"eJyLMnSMyghISi53cnEMyqgo9ElPya0M1jdw9/S0tY8vycxNtfUN8TX0Dck28A9JrvQPtLVVK04tLs5MsfXM9az0C3HKicpKN/JzSa/yrQrKiswKNY3MijSJzMrI8M1KN/bNDTT1rQo08Uy3tQUAm3EkCA==\""
}
]
}
]
}

View File

@ -0,0 +1,342 @@
{
"context": "request",
"cases": [
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "qq.com"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "mat1.gtimg.com"
},
{
":path": "/www/images/qq2012/followme.png"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.qq.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "mat1.gtimg.com"
},
{
":path": "/www/images/qq2012/sosologo.png"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.qq.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "mat1.gtimg.com"
},
{
":path": "/www/images/qq2012/festival/da18search.png"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.qq.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "mat1.gtimg.com"
},
{
":path": "/www/images/qq2012/festival/da18bodybg05.png"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.qq.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "mat1.gtimg.com"
},
{
":path": "/www/images/qq2012/loginall_1.2.png"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.qq.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "mat1.gtimg.com"
},
{
":path": "/www/images/qq2012/aikanLoading1.1.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.qq.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "mat1.gtimg.com"
},
{
":path": "/joke/Koala/Qfast1.0.1.js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.qq.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "mat1.gtimg.com"
},
{
":path": "/www/images/qq2012/mobileNews.png"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.qq.com/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "img1.gtimg.com"
},
{
":path": "/v/pics/hv1/241/117/1186/77149726.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.qq.com/"
}
]
}
]
}

View File

@ -0,0 +1,339 @@
{
"context": "request",
"cases": [
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "sina.com.cn"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.sina.com.cn"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "news.sina.com.cn"
},
{
":path": "/js/87/20121024/201218ConfTop.js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.sina.com.cn/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "int.dpool.sina.com.cn"
},
{
":path": "/iplookup/iplookup.php"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.sina.com.cn/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "i3.sinaimg.cn"
},
{
":path": "/video/2012/1103/U7805P167DT20121103211853.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.sina.com.cn/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "i3.sinaimg.cn"
},
{
":path": "/home/2012/1102/U6041P30DT20121102122146.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.sina.com.cn/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "i3.sinaimg.cn"
},
{
":path": "/home/deco/2009/0330/logo_home.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.sina.com.cn/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "d1.sina.com.cn"
},
{
":path": "/shh/lechan/20121016sina/logo1.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.sina.com.cn/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "i0.sinaimg.cn"
},
{
":path": "/home/2012/1103/U8551P30DT20121103063734.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.sina.com.cn/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "i1.sinaimg.cn"
},
{
":path": "/home/2012/1101/U6648P30DT20121101141432.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.sina.com.cn/"
}
]
}
]
}

View File

@ -0,0 +1,336 @@
{
"context": "request",
"cases": [
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "taobao.com"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.taobao.com"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.taobao.com"
},
{
":path": "/index_global.php"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "a.tbcdn.cn"
},
{
":path": "/p/fp/2011a/assets/space.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.taobao.com/index_global.php"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "a.tbcdn.cn"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/css,*/*;q=0.1"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.taobao.com/index_global.php"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "a.tbcdn.cn"
},
{
":path": "/p/fp/2011hk/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/css,*/*;q=0.1"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.taobao.com/index_global.php"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "a.tbcdn.cn"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.taobao.com/index_global.php"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "a.tbcdn.cn"
},
{
":path": "/p/fp/2010c/js/fp-direct-promo-min.js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.taobao.com/index_global.php"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "img01.taobaocdn.com"
},
{
":path": "/tps/i1/T1fqY2XilfXXahsVgc-1000-40.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.taobao.com/index_global.php"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "img01.taobaocdn.com"
},
{
":path": "/tps/i1/T1rZiwXgtfXXXXXXXX-110-135.png"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.taobao.com/index_global.php"
}
]
}
]
}

View File

@ -0,0 +1,375 @@
{
"context": "request",
"cases": [
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "en.wikipedia.org"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"cookie": "centralnotice_bucket=1; clicktracking-session=eJko6IiUcEm69ehQfaakQlJfiLy9lShNP; mediaWiki.user.bucket%3Aext.articleFeedback-tracking=10%3Atrack; mediaWiki.user.id=EM83jsjaqPzIMLwBTiKF3aLiiTKeweez; mediaWiki.user.bucket%3Aext.articleFeedback-options=8%3Ashow"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "en.wikipedia.org"
},
{
":path": "/wiki/Main_Page"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"cookie": "centralnotice_bucket=1; clicktracking-session=eJko6IiUcEm69ehQfaakQlJfiLy9lShNP; mediaWiki.user.bucket%3Aext.articleFeedback-tracking=10%3Atrack; mediaWiki.user.id=EM83jsjaqPzIMLwBTiKF3aLiiTKeweez; mediaWiki.user.bucket%3Aext.articleFeedback-options=8%3Ashow"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "bits.wikimedia.org"
},
{
":path": "/en.wikipedia.org/load.php"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/css,*/*;q=0.1"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://en.wikipedia.org/wiki/Main_Page"
},
{
"if-modified-since": "Wed, 31 Oct 2012 17:52:04 GMT"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "bits.wikimedia.org"
},
{
":path": "/en.wikipedia.org/load.php"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/css,*/*;q=0.1"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://en.wikipedia.org/wiki/Main_Page"
},
{
"if-modified-since": "Thu, 01 Nov 2012 09:33:27 GMT"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "bits.wikimedia.org"
},
{
":path": "/en.wikipedia.org/load.php"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://en.wikipedia.org/wiki/Main_Page"
},
{
"if-modified-since": "Sat, 03 Nov 2012 12:53:27 GMT"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "bits.wikimedia.org"
},
{
":path": "/en.wikipedia.org/load.php"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://en.wikipedia.org/wiki/Main_Page"
},
{
"if-modified-since": "Wed, 31 Oct 2012 17:52:04 GMT"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "bits.wikimedia.org"
},
{
":path": "/en.wikipedia.org/load.php"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://en.wikipedia.org/wiki/Main_Page"
},
{
"if-modified-since": "Thu, 01 Nov 2012 09:33:27 GMT"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "upload.wikimedia.org"
},
{
":path": "/wikipedia/en/c/ca/Kanthirava_cropped.png"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://en.wikipedia.org/wiki/Main_Page"
},
{
"if-modified-since": "Fri, 02 Nov 2012 23:46:59 GMT"
},
{
"if-none-match": "288bdb2fd5e5a4f7272f58fcb083a7e1"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "upload.wikimedia.org"
},
{
":path": "/wikipedia/commons/thumb/d/d2/Dancing_girl_ajanta_%28cropped%29.jpg/72px-Dancing_girl_ajanta_%28cropped%29.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://en.wikipedia.org/wiki/Main_Page"
},
{
"if-modified-since": "Tue, 30 Oct 2012 17:37:15 GMT"
},
{
"if-none-match": "6e8d56df9be35494b4d9f0ea72ed1a3e"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "bits.wikimedia.org"
},
{
":path": "/en.wikipedia.org/load.php"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://en.wikipedia.org/wiki/Main_Page"
},
{
"if-modified-since": "Sat, 03 Nov 2012 12:53:27 GMT"
}
]
}
]
}

View File

@ -0,0 +1,348 @@
{
"context": "request",
"cases": [
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "yahoo.co.jp"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"cookie": "B=76j09a189a6h4&b=3&s=0b"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.yahoo.co.jp"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"cookie": "B=76j09a189a6h4&b=3&s=0b"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "k.yimg.jp"
},
{
":path": "/images/top/sp2/clr/1/clr-121025.css"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/css,*/*;q=0.1"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.yahoo.co.jp/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "k.yimg.jp"
},
{
":path": "/images/top/sp/logo.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.yahoo.co.jp/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "k.yimg.jp"
},
{
":path": "/images/bookstore/common/special/2012/0829_05/banner/84x84_1.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.yahoo.co.jp/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "yjaxc.yahoo.co.jp"
},
{
":path": "/oi"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.yahoo.co.jp/"
},
{
"cookie": "B=76j09a189a6h4&b=3&s=0b"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "k.yimg.jp"
},
{
":path": "/images/weather/general/transparent_s/clouds.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.yahoo.co.jp/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "k.yimg.jp"
},
{
":path": "/images/weather/general/transparent_s/sun.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.yahoo.co.jp/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "k.yimg.jp"
},
{
":path": "/images/bookstore/common/special/2012/0829_05/banner/84x84_2.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.yahoo.co.jp/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "k.yimg.jp"
},
{
":path": "/images/premium/contents/bnr/2012/50x50/0928_store_supernatural.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.yahoo.co.jp/"
}
]
}
]
}

View File

@ -0,0 +1,351 @@
{
"context": "request",
"cases": [
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "yahoo.com"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "d.yimg.com"
},
{
":path": "/hd/ch7news/7_world/1103_0700_nat_elephant_sml_1898chj-1898chl.jpg"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://au.yahoo.com/?p=us"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "au.yahoo.com"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"cookie": "B=4m2rqu589a507&b=3&s=1v"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "d.yimg.com"
},
{
":path": "/mi/ywa.js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://au.yahoo.com/?p=us"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "yui.yahooapis.com"
},
{
":path": "/combo"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://au.yahoo.com/?p=us"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "secure-au.imrworldwide.com"
},
{
":path": "/cgi-bin/m"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://au.yahoo.com/?p=us"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "chart.finance.yahoo.com"
},
{
":path": "/instrument/1.0/%5Eaxjo/chart;range=5d/image;size=179x98"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://au.yahoo.com/?p=us"
},
{
"cookie": "B=4m2rqu589a507&b=3&s=1v; session_start_time=1351947275160; k_visit=1; push_time_start=1351947295160"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "chart.finance.yahoo.com"
},
{
":path": "/instrument/1.0/%5Eaord/chart;range=5d/image;size=179x98"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://au.yahoo.com/?p=us"
},
{
"cookie": "B=4m2rqu589a507&b=3&s=1v; session_start_time=1351947275160; k_visit=1; push_time_start=1351947295160"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "chart.finance.yahoo.com"
},
{
":path": "/instrument/1.0/audusd=x/chart;range=5d/image;size=179x98"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://au.yahoo.com/?p=us"
},
{
"cookie": "B=4m2rqu589a507&b=3&s=1v; session_start_time=1351947275160; k_visit=1; push_time_start=1351947295160"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "cm.au.yahoo.overture.com"
},
{
":path": "/js_flat_1_0/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://au.yahoo.com/?p=us"
}
]
}
]
}

View File

@ -0,0 +1,345 @@
{
"context": "request",
"cases": [
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "yandex.ru"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.yandex.ru"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "yabs.yandex.ru"
},
{
":path": "/count/Vnw_3zF2dkO40002Zhl8KGa5KPK2cmPfMeYpO2zG0vAeOuAefZIAgoA2KAe2fPOOP96yq4ba1fDKGQC1hlDVeQN8GfVD17e7"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.yandex.ru/"
},
{
"cookie": "t=p; yandexuid=6410453771351949451"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "yabs.yandex.ru"
},
{
":path": "/count/Vnw_3mft8wq40000Zhl8KGa5KP6yq4ba1fDKhlDVeQN8GfVD17a3=qcOn49K2cmPfMcbQagXZWgYAgoA2KAMM66IcD7W3"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.yandex.ru/"
},
{
"cookie": "t=p; yandexuid=6410453771351949451"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "yandex.st"
},
{
":path": "/lego/_/pDu9OWAQKB0s2J9IojKpiS_Eho.ico"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "yandex.st"
},
{
":path": "/www/1.359/www/i/yandex3.png"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.yandex.ru/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "yandex.st"
},
{
":path": "/morda-logo/i/logo.png"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.yandex.ru/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "mc.yandex.ru"
},
{
":path": "/watch/722545"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.yandex.ru/"
},
{
"cookie": "t=p; yandexuid=6410453771351949451"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "yandex.st"
},
{
":path": "/www/1.359/www/pages-desktop/www-css/_www-css.css"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/css,*/*;q=0.1"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.yandex.ru/"
}
]
},
{
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "yandex.st"
},
{
":path": "/www/_/_r7pp-b-hKoDbgyGYy0IB3wlkno.png"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.yandex.ru/"
}
]
}
]
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,3 @@
org.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.StdErrLog
org.eclipse.jetty.http2.LEVEL=DEBUG
org.eclipse.jetty.http2.LEVEL=INFO

View File

@ -92,9 +92,9 @@ public class ArrayQueue<E> extends AbstractList<E> implements Queue<E>
/* ------------------------------------------------------------ */
/**
* @return the next index to be used
* @return the next slot to be used
*/
public int getNextIndexUnsafe()
public int getNextSlotUnsafe()
{
return _nextSlot;
}