GNOME Bugzilla – Bug 601776
g_file_query_info breaks due to different results for HEAD and GET from (broken) server
Last modified: 2014-04-05 19:35:19 UTC
I get the following error on Ubuntu 9.10: > gnomevfs-info http://export.arxiv.org/rss/quant-ph/ Error: File not found curl, wget and firefox retrieve this address without problem.
First of all, gnome-vfs is obsolete and got replaced by GIO/GVFS (since quite a while now). You want to use gvfs-info not gnome-vfs info. BUT The problem here is -and gvfs is affected by that as well- that the server is broken, since it returns 404 on HEAD but 200 on GET. HEAD /rss/quant-ph/ HTTP/1.1 Host: export.arxiv.org User-Agent: gvfs/1.4.1 HTTP/1.1 404 File Not Found Date: Fri, 13 Nov 2009 09:17:31 GMT Server: Apache Content-Type: text/html But: GET /rss/quant-ph/ HTTP/1.1 Host: export.arxiv.org User-Agent: gvfs/1.4.1 HTTP/1.1 200 OK Date: Fri, 13 Nov 2009 09:17:48 GMT Server: Apache ETag: "Fri, 13 Nov 2009 01:30:00 GMT", "1258075800" Last-Modified: Fri, 13 Nov 2009 01:30:00 GMT Transfer-Encoding: chunked Content-Type: text/xml This is very similar of bug #547020 or #596615. I am not dupping it right away but I am going to use that as the general HEAD doesn't always work but GET does bug.
It is now NOT_ALLOWED: $ gvfs-info http://export.arxiv.org/rss/quant-ph/ Error getting info: HTTP Error: Method Not Allowed *** This bug has been marked as a duplicate of bug 547020 ***