Download Now
Forums

    Reference S3ResponseHeader

    Declared in Codebot.Networking.Storage.pas on line 139

    S3ResponseHeader returns the value of a response header from a document returned by Send or SendAsync, or an empty string if the header is missing. Headers are kept when a response has no xml body, as with HeadObject. Names are not case sensitive, for example Content-Length or x-amz-meta-x.
    function S3ResponseHeader(Response: IDocument; const Name: string): string;

    See also

    IDocument in Codebot.Text.Xml.pas