ESoupSession: Remember server fail response for detailed error
On uploading an iCalendar object, evolution-calendar-factory prints:
> PUT /dav/calendars/user/zzz/61f648a9-ed8f-4a4a-aa73-7f6f6a683840/040000008200E00074C5B7101A82E00800000000609958FC4E8DD8010000
0000000000001000000071BF3443126A0D4FBDAEC4FADBBB8EAE.ics HTTP/2
> Soup-Debug-Timestamp: 1656825957
> Soup-Debug: EWebDAVSession 1 (0x7f17a800ead0), SoupMessage 7 (0x7f17fc00a9b0), GSocket 3 (0x7f17bc09f910)
> User-Agent: Evolution/3.45.2
> Connection: close
> Cache-Control: no-cache
> Pragma: no-cache
> If-None-Match: *
> Content-Type: text/calendar; charset="utf-8"
> Content-Length: 7210
> Accept-Encoding: gzip, deflate, br
> Accept-Language: en-gb, en;q=0.9
> Authorization: Basic [zzz@examlple.org:************]
> Prefer: return=minimal
>
> BEGIN:VCALENDAR
...
> END:VCALENDAR
< HTTP/2 403 Forbidden
< Soup-Debug-Timestamp: 1656825957
< Soup-Debug: SoupMessage 7 (0x7f17fc00a9b0)
< Date: Sun, 03 Jul 2022 05:25:57 GMT
< Content-Type: application/xml; charset=utf-8
< Content-Length: 235
< Cache-Control: no-cache
< accept-patch: text/calendar; charset=utf-8; component=VPATCH; optinfo="PATCH-VERSION:1"
No content follows. I guess the server acts correctly and with libsoup3.0.6+HTTP/2 evolution-calendar-factory forgets to consume the payload of 235 bytes.
Edited by Milan Crha