Menu

#92 GET requests with absolute Request-URI fails

0.12.0
open
Jin
UPnP (10)
5
2011-06-09
2011-06-09
No

AllShare application on Samsung Galaxy S II sends GET requests formatted as below:

GET http://192.168.1.100:49153/content/media/object_id/2578/res_id/0/ext/file.avi HTTP/1.1
Accept: */*
Host: 192.168.1.100:49153
Range: bytes=0-
x-wap-profile:
User-Agent: Samsung Player User-Agent
Connection: Keep-Alive

HTTP/1.1 404 Not Found
SERVER: Linux/2.6.38-8-server, UPnP/1.0, MediaTomb/0.12.1
CONNECTION: close
CONTENT-LENGTH: 48
CONTENT-TYPE: text/html; charset=UTF-8
X-User-Agent: redsonic
transferMode.dlna.org: Streaming
contentFeatures.dlna.org: DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=017000 00000000000000000000000000

<html><body><h1>404 Not Found</h1></body></html>

Please note GET with absolute Request-URI (http://192.168.1.100:49153....). According to HTTP specification (rfc2616 / chapter 5.1.2 Request-URI) it's perfectly valid format.

NB: http://192.168.1.100:49153/content/media/object_id/2578/res_id/0/ext/file.avi is of course valid one - when I put the link to a web browser it can be downloaded.

Regards

Discussion


Log in to post a comment.