Download raw body.
fix object header parser for zero-length object headers
Now that you guarantee that buf is NUL-terminated there is no need for strnlen() so you can just do: (*obj)->hdrlen = strlen(buf) + 1 /* '\0' */; - todd
fix object header parser for zero-length object headers