Index: modules/http-neon-method.c
===================================================================
RCS file: /cvs/gnome/gnome-vfs/modules/http-neon-method.c,v
retrieving revision 1.35
diff -u -p -r1.35 http-neon-method.c
--- modules/http-neon-method.c	14 Feb 2006 06:22:37 -0000	1.35
+++ modules/http-neon-method.c	5 Mar 2006 00:26:12 -0000
@@ -1869,8 +1869,18 @@ http_get_file_info (HttpContext *context
 	
  head_start:	
 	req  = ne_request_create (context->session, "HEAD", context->path);
-
 	res = ne_request_dispatch (req);
+	result = resolve_result (res, req);
+
+	/* Fallback to GET request, when HEAD request was rejected.
+	 * See bug 332816 for details. */
+	if (result == GNOME_VFS_ERROR_NOT_SUPPORTED) {
+		ne_request_destroy (req);
+
+		req = ne_request_create (context->session, "GET", context->path);
+		res = ne_request_dispatch (req);
+		result = resolve_result (res, req);
+	}
 
 	if (res == NE_REDIRECT) {
 		result = http_follow_redirect (context);
@@ -1882,9 +1892,6 @@ http_get_file_info (HttpContext *context
 		}
 	}
 
-
-	result = resolve_result (res, req);	
-	
 	if (result == GNOME_VFS_OK) {
 		const char *name;	
 		
