How to send a HEAD request from Firefox

Use the JavaScript console in Firebug and run the following script snippet: var xmlhttp = new XMLHttpRequest(); xmlhttp.open(“HEAD”, “the_url”,true); // Async HEAD request (relative path to avoid cross-domain restrictions) xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4) { // make sure the request is complete alert(xmlhttp.getAllResponseHeaders()) // display the headers } } xmlhttp.send(null); // send request

Eclipse SVN errors, “An error occurred while automatically activating bundle org.eclipse.team.svn.core”

On some of my Eclipse workspaces the Galileo update failed in the SVN department (Subversive). Activating anything remotely related to Team/SVN features triggered an error. The workspace log contained: !MESSAGE An error occurred while automatically activating bundle org.eclipse.team.svn.core (512). !STACK 0 org.osgi.framework.BundleException: Exception in org.eclipse.team.svn.core.SVNTeamPlugin.start() of bundle org.eclipse.team.svn.core. at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:805) … Caused by: java.io.StreamCorruptedException: invalid […]