cancel
Showing results for 
Search instead for 
Did you mean: 

Custom response headers for *.cgi scripts/pages

ccarlsen
Associate
Posted on August 24, 2016 at 03:15

Our customer has requested that our device using the SPWF01SA use modified http headers in the response for the firstset.cgi page.

Is there a way to modify the headers?  Perhaps a special file in the filesystem that could be editted to override whatever constant text is used to generate the response headers?

Thanks
1 REPLY 1
Posted on August 24, 2016 at 10:29

You can create your HTML pages, containing custom headers/CSS/scripts/etc inside filesystem in RAM, or create a filesystem image and upload over the air.

You cannot create custom CGI, but you can call existing CGI from custom HTML pages. Check this thread:

https://my.st.com/public/STe2ecommunities/interface/Lists/WiFi%20Modules/flat.aspx?RootFolder=/public/STe2ecommunities/interface/Lists/WiFi%20Modules/dynamic%20pages%20and%20file%cgi&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800086789498A6852D4897EA192EB1DEE909&currentviews=5555