From kde-commits Wed Sep 06 19:30:15 2006 From: Martin Ellis Date: Wed, 06 Sep 2006 19:30:15 +0000 To: kde-commits Subject: extragear/multimedia/amarok/src Message-Id: <1157571015.299471.6502.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=115757102521886 SVN commit 581585 by martin: Gah... over-zealous diff editing... Send Host: header too. M +2 -1 amarok_proxy.rb --- trunk/extragear/multimedia/amarok/src/amarok_proxy.rb #581584:581585 @@ -171,7 +171,8 @@ else url = "#{remote_uri.path || '/'}?#{remote_uri.query}" end - "GET #{url} HTTP/1.1" + ENDL + ENDL + get = "GET #{url} HTTP/1.1" + ENDL + get += "Host: #{remote_uri.host}:#{remote_uri.port}" + ENDL + ENDL end end