[coherence-dev] ReverseProxyResource with big files

Dominik dominikruf at googlemail.com
Wed Apr 15 09:45:38 CEST 2009


I am totally sorry. I just realized that all the links for the "big files" are returning redirects.
So it is not the fault of the proxy.


Hi,
can you give an example of the URL you're trying to access?
regards,
Jean-Michel


Dominik wrote:
> Hi,
>
> I am trying to write my first MediaServer backend. So far everything work fine but now I have the problem that it seems my client (XBOX 360) doesn't like URLs outside the local network.
> I tried to use an proxy by setting
>     self.location = ReverseProxyUriResource(url)
> and
>     res = DIDLLite.Resource("%s%d" % (store.urlbase, id), 'http-get:*:%s:*' % type)
> This works for small files (images). But with big files (videos) some how http://<urlbase>/id doesn't work as a proxy any more.
> With these big files I am getting a redirect when I make a request to http://<urlbase>/id and since the redirect points to an URL outside my local network my client doesn't like it. :-(
>
> I looked into the sources of the youtube backend since my client works with that backend.
> But the proxy stuff in the youtube backend seems quite complicate (buffering, caching, etc.).
>
> So I hoped someone on the list can help me.
>
> cheers
> Dominik
>   

_______________________________________________
coherence-dev mailing list
coherence-dev at lists.beebits.net
http://lists.beebits.net/cgi-bin/mailman/listinfo/coherence-dev



-- 
View this message in context: http://n2.nabble.com/ReverseProxyResource-with-big-files-tp2633665p2637489.html
Sent from the coherence-dev mailing list archive at Nabble.com.




More information about the coherence-dev mailing list