Closed AlaricSenat closed 3 years ago
I must say that since the new list code has added, I have not seen such a large modification in this library.
I must also say that even though I have reviewed the patch as carefully as I can, I am unable to test it. If it is not asking too much, maybe in a future patch you might consider adding some unit tests in the test programs?
Great work!
Regards, Marcelo.
Thanks!
It seems that the HTTP parser isn't covered at all by the unit tests. I'd gladly add a test or two to test the code I added, even if most of it is just moving around already existing functions. But then it'll feel weird cause i'll only test just a tiny part of the HTTP parser code... Partial test coverage is better than none I guess !
Partial test coverage is better than none I guess !
You bet! :laughing:
This PR exposes unrecognized headers in the
UpnpActionRequest
interface Api users might want to process some http headers that are not recognized by the pupnp http server. A similar behavior is already implemented for the upnp http io callbacks in theFileInfo
interface.