Users might want to add image sources from a Qt application using base64 encoded image using the data URL scheme. This is supported by Qt but HTTP status code is not present. This adds a special case to the HTTPRequest::handleNetworkReply.
I could not think of any other scheme that could be reasonably used here. HTTP and file:// seem to report the status code properly.
Will also provide MR to master when this one is accepted. Let me know if this should be done to master first.
Users might want to add image sources from a Qt application using base64 encoded image using the
data
URL scheme. This is supported by Qt but HTTP status code is not present. This adds a special case to theHTTPRequest::handleNetworkReply
.I could not think of any other scheme that could be reasonably used here. HTTP and
file://
seem to report the status code properly.Will also provide MR to master when this one is accepted. Let me know if this should be done to master first.