- download.microsoft.com returns GNOME_VFS_ERROR_EOF for PROPFIND
DEBUG_HTTP (("HTTP server returned an invalid PROPFIND response: %d", (*handle_return)->server_status));
result = GNOME_VFS_ERROR_NOT_SUPPORTED;
}
DEBUG_HTTP (("HTTP server returned an invalid PROPFIND response: %d", (*handle_return)->server_status));
result = GNOME_VFS_ERROR_NOT_SUPPORTED;
}
+ /* Some servers (download.microsoft.com) will just close
+ * the connection (EOF) without returning any HTTP status.
+ */
+ if (result == GNOME_VFS_ERROR_EOF) {
+ DEBUG_HTTP (("HTTP server returned an empty PROPFIND response"));
+ result = GNOME_VFS_ERROR_NOT_SUPPORTED;
+ }
if (result == GNOME_VFS_OK) {
do {
if (result == GNOME_VFS_OK) {
do {