HttpHeaders
HttpHeaders class for handling headers.
Method | Description | Available from version |
---|---|---|
add | Adds a header. | |
clear | Clears all headers. | |
get | Returns header by its name. | |
getCharset | Returns encoding from headers Content-Type. | |
getContentDisposition | Returns disposition-type from header's Content-Disposition. | |
getContentType | Returns content type from header's Content-Type. | |
getFilename | Returns file name from header's Content-disposition. | |
set | Sets header value. | |
toArray | Returns headers as source array. | |
toString | Returns HTTP request string representation. |
© «Bitrix24», 2001-2024