Esempio n. 1
0
 public function testRemovesHeaders()
 {
     $h = new puzzle_message_Request('GET', 'http://foo.com');
     $h->setHeader('foo', 'bar');
     $h->removeHeader('foo');
     $this->assertFalse($h->hasHeader('foo'));
     $h->setHeader('Foo', 'bar');
     $h->removeHeader('FOO');
     $this->assertFalse($h->hasHeader('foo'));
 }