There is currently no easy way for an application to distinguish between different resource write errors being set in the curlhttpsink. Add HTTP status code as error details on transfer failure. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4062>