So, second try ^^
This time I do not change the header hash itself for compatibility. Instead I create a second hash where it is used to read out information like location or content-type or charset respectively.
This way, old code will work except the code expect to get the buffer back instead of the content because of the bug.
I use a lowercase hash instead of the Title-Case suggestion by zoffix, because that would also change the hash keys and would cause compatibility troubles.
So, second try ^^ This time I do not change the header hash itself for compatibility. Instead I create a second hash where it is used to read out information like location or content-type or charset respectively.
This way, old code will work except the code expect to get the buffer back instead of the content because of the bug.
I use a lowercase hash instead of the Title-Case suggestion by zoffix, because that would also change the hash keys and would cause compatibility troubles.