Bug 1405 - http headers are not returned in v6
: http headers are not returned in v6
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 6.0.0
: PC Debian Linux
: P2 major (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-21 03:17 UTC by Philip Downer
Modified: 2008-09-15 14:37 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Downer 2005-04-21 03:17:32 UTC
In version 5.4, there was an issue with the http headers as far as the fact that
they were only being returned by requests for status.txt, it was discussed on
the developer list here:

http://forums.slimdevices.com/showthread.php?t=1341&highlight=http+headers

I am currently running a nightly build from the 20th April 2004 and it appears
that there are no http headers returned at all. I have tried requesting several
different pages i.e. status.xml, status.html, status.txt and I am not seeing any
of the MIME headers that should be present i.e. X-Player etc.

A request under v5.4.1 would return the following result:

-------

Phil@mobfun:~/http_checks $ ./http_checker.pl -g 192.168.0.103:9000/status.txt
url = http://192.168.0.103:9000/status.txt
HTTP status: 200

HTTP headers:
Connection: close
Date: Thu, 21 Apr 2005 17:50:54 GMT
Content-Length: 70
Content-Type: text/plain
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Client-Date: Thu, 21 Apr 2005 09:46:33 GMT
Client-Peer: 192.168.0.103:9000
Client-Response-Num: 1
Refresh: 30; url=status.txt
X-Player: 00:04:20:05:77:12
X-Playermode: stop
X-Playername: monkey
X-Playerrepeat: 0
X-Playershuffle: 1
X-Playersleep: 0
X-Playertracks: 0
X-Playervolume: 40

Content:
Squeezebox Home (2 of 10)linebreakNow Playingrightrightarrow

---------

As you can see, the http headers are all present, but doing the same request
under a recent nightly of v6 produces the following result:

---------

phil@mobfun:~/http_checks $ ./http_checker.pl -g 192.168.0.103:9000/status.txt
url = http://192.168.0.103:9000/status.txt
HTTP status: 200

HTTP headers:
Connection: close
Date: Thu, 21 Apr 2005 17:52:45 GMT
Content-Length: 51
Content-Type: text/plain
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Client-Date: Thu, 21 Apr 2005 09:48:24 GMT
Client-Peer: 192.168.0.103:9000
Client-Response-Num: 1
Refresh: 30; url=status.txt

Content:
Stopped (1 of 8)
1. For The Beauty Of The Earth

---------
Comment 1 Dan Sully 2005-04-25 16:54:57 UTC
Fixed in Subversion change 3057

It will be in the 6.0.2 release, and the nightlies.
Comment 2 Chris Owens 2006-06-16 14:39:57 UTC
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006.  I am setting them to targets of 6.2.1 to keep them from showing up in my queries.