Removes all headers named {@code name}.
976340
public MockResponse removeHeader(String name) {
        name += ":";
        for (Iterator<String> i = headers.iterator(); i.hasNext(); ) {
            String header = i.next();
            if (name.regionMatches(true, 0, header, 0, name.length())) {
                i.remove();
            }
        }
        return this;
    }
91405
public function RemoveNamespace($name, $header="")
    {
        if($header)
        {
            unset($this->headers[$header]->namespaces[$name]);
        }
        else
        {
            foreach($this->headers as $header_object)
            {
                unset($header_object->namespaces[$name]);
            }
        }
    }
869028
public HttpRequest withoutHeader(String header) {
		if(headers.containsKey(header)) {
			headers.remove(header);
		}
		return this;
	}
279177
public void clear() {
        while (tail != head) {
            hpackHeaderFields[tail++] = null;
            if (tail == hpackHeaderFields.length) {
                tail = 0;
            }
        }
        head = 0;
        tail = 0;
        size = 0;
    }
868819
public void removeSpecialHeader(HeaderKeys key) {
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
            Tr.debug(tc, "removeSpecialHeader(h): " + key.getName());
        }
        removeHdrInstances(findHeader(key), FILTER_NO);
    }
1234730
protected function trim_headers() {
        foreach ($this->headers as $i => $h) {
            $h = trim($h); // Remove whitespace.
            $h = clean_param($h, PARAM_RAW); // Clean the header.
            $this->headers[$i] = $h;
        }
    }
22822
public function removeAll($name)
    {
        $s = $this->getNormalizedHeaderName($name);
        if (!empty($this->headerMap[$s])) {
            foreach ($this->headerMap[$s] as $i) {
                unset($this->headers[$i]);
                unset($this->headerObjects[$i]);
            }
            $this->headerMap[$s] = [];
            return true;
        }
        return false;
    }
674001
public Header remove(AsciiString name){
        if(name==null || first==null)
            return null;

        Header h = null;
        int idx = name.hashCode() & (table.length-1);
        Object obj = table[idx];
        if(obj==null)
            return null;
        else if(obj instanceof Header){
            Header header = (Header)obj;
            if(header.name.equals(name)){
                table[idx] = null;
                h = header;
            }
        }else{
            Header headers[] = (Header[])obj;
            for(int i=0; i<headers.length; i++){
                Header header = headers[i];
                if(header!=null && header.name.equals(name)){
                    headers[i] = null;
                    h = header;
                    break;
                }
            }
        }

        if(h!=null)
            removeSameNext(h);
        return h;
    }
762354
public function removeHeader(string $name)
    {
        if (array_key_exists($name, $this->headers)) {
            unset($this->headers[$name]);
        }

        return $this;
    }
765408
public void removeHeader(String name) {
		if(logger.isDebugEnabled()) {
        	logger.debug("removeHeader - name=" + name);
        }
		checkCommitted();
		String hName = getFullHeaderName(name);

		if(hName.trim().equalsIgnoreCase(ContactHeader.NAME)) {
			String header = getHeader(hName);
			if (isSystemHeaderAndNotGruu(getModifiableRule(hName), header)) {
				throw new IllegalArgumentException("Cant remove system header["
						+ hName + "]");
			}
		} else {
			if (isSystemHeader(getModifiableRule(hName))) {
				throw new IllegalArgumentException("Cant remove system header["
						+ hName + "]");
			}
		}

		if (hName.equalsIgnoreCase("From") || hName.equalsIgnoreCase("To")) {
			logger.error("Error, can't remove From or To header [" + hName + "]");
			throw new IllegalArgumentException(
					"Cant remove From or To header, see JSR 289 Section 4.1.2");
		}

		String nameToSearch = getCorrectHeaderName(hName);

		this.message.removeHeader(nameToSearch);

	}
430059
public Map<String, String> removeRequestHeader(String key) {
    this.requestHeaders.remove(key);
    return getRequestHeaders();
  }
1011276
function() {
    Object.keys(this.name2Ws).forEach(function(name) {
      delete this.name2Ws[name];
    }.bind(this));

    Object.keys(this.ws2Name).forEach(function(wsId) {
      delete this.ws2Name[wsId];
    }.bind(this));
  }
39273
private void clearHeader() {
        if (mHeader != null) {
            removeView(mHeader);
            mHeader = null;
            mHeaderId = null;
            mHeaderPosition = null;
            mHeaderOffset = null;

            // reset the top clipping length
            mList.setTopClippingLength(0);
            updateHeaderVisibilities();
        }
    }
572937
private void removeKeys(List<Integer> keysToRemove, SparseArrayCompat<ViewHolder> headers) {
        for (Integer key : keysToRemove) {
            headers.remove(key);
        }
    }
771122
public void removeHead( int total ) {
		for( int j = total; j < size; j++ ) {
			data[j-total] = data[j];
		}
		size -= total;
	}
1290418
public function removeHeader($name)
    {
        $nameLower = strtolower($name);
        foreach ($this->_headers as &$h) {
            if ($h && strtolower($h[0]) == $nameLower) {
                $h = null;
            }
        }
    }
744819
public void removeFile(String name) {
        if(files.containsKey(name)) {
            files.remove(name);
        }

        if(fileStreams.containsKey(name)) {
            fileStreams.remove(name);
        }
    }