Modified the content handler proxy to return the URL connection input
stream when no content handler service is available as per the spec.


git-svn-id: https://svn.apache.org/repos/asf/incubator/felix/trunk@422211 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/org.apache.felix.framework/src/main/java/org/apache/felix/framework/URLHandlersContentHandlerProxy.java b/org.apache.felix.framework/src/main/java/org/apache/felix/framework/URLHandlersContentHandlerProxy.java
index 42cfefe..e17093b 100644
--- a/org.apache.felix.framework/src/main/java/org/apache/felix/framework/URLHandlersContentHandlerProxy.java
+++ b/org.apache.felix.framework/src/main/java/org/apache/felix/framework/URLHandlersContentHandlerProxy.java
@@ -25,6 +25,8 @@
 import org.osgi.framework.BundleContext;
 import org.osgi.service.url.URLConstants;
 
+import sun.security.action.GetIntegerAction;
+
 /**
  * <p>
  * This class implements a content handler proxy. When the content handler
@@ -66,8 +68,7 @@
         ContentHandler svc = getContentHandlerService();
         if (svc == null)
         {
-            throw new IOException("Content handler unavailable: "
-                + urlc.getContentType());
+            return urlc.getInputStream();
         }
         return svc.getContent(urlc);
     }