Requests are reloaded when a conditional request doesn't return NOT_MODIFIED
@carlosgc
Submitted by Carlos Garcia Campos Assigned to libsoup-maint@gnome.bugs
Link to original bug (#745067)
Description
When the result of a conditional request is that the resources has been modified, the conditional request itself returns 200 and the body has already been read, but we discard that and reload the resource again. I think we shouldn't complete the body io for conditional requests, so that in case of modified resource, we can create an input stream for the body and let the client read from it normally. The tricky part is that we need to move the conditional request response and io state to the original message.
Version: 2.49.x