I noticed that in the options provided for the constructor of HTTP_ConditionalGet the encoding option could never be null causing the "Vary: Accept-Encoding" header to be always sent. By this change it will only be set if the encoding has a value different than the empty string.
I noticed that in the options provided for the constructor of
HTTP_ConditionalGet
theencoding
option could never benull
causing the "Vary: Accept-Encoding" header to be always sent. By this change it will only be set if theencoding
has a value different than the empty string.