https://github.com/dvska/gdata-python3/blob/5cc5a83a469d87f804d1fda8760ec76bcb6050c9/src/atom/http.py#L95 seems to be at fault - check should verify `data` type is `bytes` instead of `str`.