reimplemented getinfo for basic types
libcurl share API