Retrieving HTTP headers/status for non successful requests
#1
For unsuccessful HTTP requests the DVB Viewer PVRs backend sends status codes according to the standard. e.g. 401 for wrong/missing credentials. 410 for already deleted recording, etc..

Right now it seems impossible to retrieve the HTTP status code/line using GetFilePropertyValue as CFile closes the underlying file implementation on failure. Error responses seems to be treated as failure. Is there a way to workaround this or can we add a new flag to signal that the file should not be closed?
Reply

Logout Mark Read Team Forum Stats Members Help
Retrieving HTTP headers/status for non successful requests0