|
Macros for SAS Application Developers
https://github.com/sasjs/core |
Sets the http headers in the SASjs/server response. More...
Go to the source code of this file.
For GET requests, SASjs server will use the file generated by this macro for setting the appropriate http headers in the response.
It works by writing a file to the session directory, that is then ingested by the server.
The location of this file is driven by the global variable sasjs_stpsrv_header_loc which is made available in the autoexec.
Usage:
%mfs_httpheader(Content-Type,application/csv)
| [in] | header_name | Name of the http header to set |
| [in] | header_value | Value of the http header to set |
Definition in file mfs_httpheader.sas.