added AttachmentInfo class to get information about an attachment with head http query