CaseInsensitiveDictionary::offsetSet( $offset, $value )
Source
File: wp-includes/Requests/src/Utility/CaseInsensitiveDictionary.php
public function offsetSet($offset, $value) {
if ($offset === null) {
throw new Exception('Object is a dictionary, not a list', 'invalidset');
}
if (is_string($offset)) {
$offset = strtolower($offset);
}
$this->data[$offset] = $value;
}