Set content length to 0 when posting

Some task call were failing and throwing an error because length is required.

No idea why it is not required for other calls.