Empty Transfer-Encoding headers not handled properly
Submitted by slobodan
Assigned to libsoup-maint@gnome.bugs
Link to original bug (#763614)
Description
Created attachment 323866 Ignore empty Transfer-Encoding header
When headers delivered with an empty value for Transfer-Encoding, a MESSAGE_CORRUPT error is generated. While the specification may state that an empty Transfer-Encoding is illegal, there are servers that do deliver them (for example: http://geo.streamabc.xyz).
Enclosed is a patch that ignores the empty Transfer-Encoding headers.
Patch 323866, "Ignore empty Transfer-Encoding header":
0001-headers-Ignore-empty-Transfer-Encoding-header.patch