wp-includes/SimplePie/src/HTTP/RawTextResponse.php:77$namestring$value public function with_header(string $name, $value) { $new = clone $this; $newHeader = [ strtolower($name) => (array) $value, ]; $new->headers = $newHeader + $this->headers; return $new; }Unchanged from 6.9.7 through 7.1.0.
Signature, return type and hooks compared across 3 parsed releases.
src/wp-includes/SimplePie/src/HTTP/RawTextResponse.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.