diff --git a/goffice/utils/go-file.c b/goffice/utils/go-file.c
index c5111fb..2435ba9 100644
--- a/goffice/utils/go-file.c
+++ b/goffice/utils/go-file.c
@@ -595,6 +595,9 @@ go_file_open (char const *uri, GError **err)
 		return result;
 	}
 
+	if (!strncmp (uri, "http://", 7) || !strncmp (uri, "https://", 8))
+	return gsf_input_http_new (uri, err);
+
 	return gsf_input_gio_new_for_uri (uri, err);
 }
 
