HeaderTemplates#expand(Map<String, ?>) adds space after each comma in headers. This causes an issue when converting date that uses the EEE, d MMM yyyy HH:mm:ss Z format.
Example
Client code sends Wed, 4 Jul 2001 12:08:56 -0700
Provider expects Wed, 4 Jul 2001 12:08:56 -0700
Provider receives Wed, 4 Jul 2001 12:08:56 -0700 please note the extra space between the , and 4
HeaderTemplates#expand(Map<String, ?>) adds space after each comma in headers. This causes an issue when converting date that uses the
EEE, d MMM yyyy HH:mm:ss Zformat.Example
Client code sends
Wed, 4 Jul 2001 12:08:56 -0700Provider expects
Wed, 4 Jul 2001 12:08:56 -0700Provider receives
Wed, 4 Jul 2001 12:08:56 -0700please note the extra space between the,and4