Gets the protocol-specific headers obtained from the URL.
std::string headers() const;
Return Value
A string containing the headers returned with the content from the URL. The format and interpretation of these headers is specific to the protocol associated with the URL.
Remarks
Returns rdbuf()->headers()
.