2018-04-02, 03:03
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?
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?