Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem when action request doesn't have Content-Length header
30-06-2013, 09:05 PM
Post: #2
RE: Problem when action request doesn't have Content-Length header
(30-06-2013 08:34 PM)simoncn Wrote:  If a control point sends an HTTP POST action request without a Content-Length header, ohNet rejects it with a 400 Bad Request response.

I'm attaching a patch to DviServerUpnp.cpp and DviServerUpnp.h to fix this.

Thanks for providing a fix as well as such a comprehensive report - its very much appreciated. I'll try to get this integrated tomorrow.
Find all posts by this user


Messages In This Thread
RE: Problem when action request doesn't have Content-Length header - simonc - 30-06-2013 09:05 PM

Forum Jump: