mfs_httpheader.sas File Reference

Sets the http headers in the SASjs/server response. More...

Go to the source code of this file.

Detailed Description

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)
Parameters
[in]header_nameName of the http header to set
[in]header_valueValue of the http header to set

Related Macros

  • mcf_stpsrv_header.sas
Version
9.3
Author
Allan Bowe

Definition in file mfs_httpheader.sas.