RJ / playdar-core

Playdar - a content resolver for music
http://www.playdar.org/
MIT License
192 stars 17 forks source link

Streams that time out return 200 OK #19

Open jwheare opened 15 years ago

jwheare commented 15 years ago

e.g.

2009/11/19 00:32:13 info playdar_web HEAD /sid/8371A658-1292-4E48-87D6-7B5C6B67AF9E 127.0.0.1
2009/11/19 00:32:13 info http_reader Requesting "http://192.168.1.67:60210/sid/8371A658-1292-4E48-87D6-7B5C6B67AF9E"
2009/11/19 00:32:23 warning http_reader HTTP timeout on receiving headers for http://192.168.1.67:60210/sid/8371A658-1292-4E48-87D6-7B5C6B67AF9E

The response to that HEAD request shows a 200 OK eventually. Should be a 404 or some other error response.

jwheare commented 15 years ago

504 Gateway Timeout rather.