net/http/Service drops keys from data when falsey #804

Closed
daetal-us opened this Issue Jan 26, 2013 · 2 comments

Comments

Projects
None yet
2 participants
Member

daetal-us commented Jan 26, 2013

I believe it's the Message's fault but don't have time to write a test case at the moment. Sorry guys!

see https://github.com/UnionOfRAD/lithium/blob/master/net/http/Message.php#L187

My particular use case involves posting JSON to a a rest api endpoint. I am explicitly defining certain key's values as 0 and they never make it to the post body.

Owner

gwoo commented May 5, 2013

Can you add a sample curl request? Or example data?

Owner

gwoo commented Jul 17, 2013

This should be good to go.

gwoo closed this Jul 17, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment