When using SAP to announce HTTP Streams the URL (encoded in the http-path
attribute) is currently silently being dropped. The attached patch fetches the
http-path attribute if available an appends it to the generated URI.

diff --git a/modules/services_discovery/sap.c b/modules/services_discovery/sap.c
index c3b652a..35fa7c2 100644
--- a/modules/services_discovery/sap.c
+++ b/modules/services_discovery/sap.c
@@ -916,6 +917,7 @@ static int ParseConnection( vlc_object_t
     char *psz_parse = NULL;
     char *psz_uri = NULL;
     char *psz_proto = NULL;
+    char *psz_path = NULL;
     char psz_source[256];
     int i_port = 0;
 
@@ -1061,7 +1063,11 @@ static int ParseConnection( vlc_object_t
         psz_proto = strdup( "udp" );
     }
 
-    /* FIXME: HTTP support */
+    /* HTTP support */
+    if( psz_proto && !strncasecmp( psz_proto, "HTTP", 4 ) )
+	psz_path = GetAttribute( p_sdp, "http-path");
+    if( psz_path == NULL )
+	psz_path="";
 
     if( i_port == 0 )
     {
@@ -1074,8 +1080,8 @@ static int ParseConnection( vlc_object_t
 
     if( psz_parse ) sscanf( psz_parse, " incl IN IP%*s %*s %255s ", psz_source);
 
-    asprintf( &p_sdp->psz_uri, "%s://%s@%s:%i", psz_proto, psz_source,
-              psz_uri, i_port );
+    asprintf( &p_sdp->psz_uri, "%s://%s@%s:%i%s", psz_proto, psz_source,
+              psz_uri, i_port, psz_path );
 
     FREE( psz_uri );
     FREE( psz_proto );
