We want to be able to write arbitrary headers from both CGI and SSI routines under HTTPSRV. Currently, the header of most interest to us is "Content-Disposition:". I want to "download" from my device some named XML stuff (generated by SSI) and some named binary stuff (generated by CGI; the same CGI would accept the uploading of said binary stuff back into the device).
Can I do it out of the box or where should I put API extensions?
Hi Eugene,
unfortunately Freescale does not provide an example for the specific case you are describing. Actually this case involves HTML programming rather than Embedded C.
Hopefully someone else in community with HTML expertise could share his point of view. On the other hand there are many other HTML forums where you can seek for help.
Best regards,
Carlos
Not HTML. HTTP a bit.
I have since implemented the functionality, but I am not sure that I have put it where it should be by the design of HTTPSR. I not't think it's possible to do as an example like other examples with current HTTPSRV - I had to modify HTTPSRV source. Just thought you might have a better idea of how and where it should fit.