Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

Edited Issue: Return -1 if content_length is not set [298]

$
0
0
Currently, we return 0 if the Content-Length header is not set. Since 0 is a potentially valid Content-Length setting, this is somewhat ambiguous. It may be better to return (size64_t)(-1) to signal that no Content-Length was provided.

This would be a breaking change.

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>