Hi folks,
I'm working on a project where the store will accept incoming requests from another server with custom Action codes. In case of errors, the client wants the store to reply by setting a value other than 200 in the HTTP reply status. I've used miva_output_header() before to generate type-301 redirects, so I have the general idea. But I have a few questions about the details
.
- If the store is using the Status header to send an error code, is there another header that I can use to send some sort of description text?
- Does the store have to send some minimal amount of text or other "real" content for this to work? Or can it just output a header and exit?
Thanks --
I'm working on a project where the store will accept incoming requests from another server with custom Action codes. In case of errors, the client wants the store to reply by setting a value other than 200 in the HTTP reply status. I've used miva_output_header() before to generate type-301 redirects, so I have the general idea. But I have a few questions about the details
.
- If the store is using the Status header to send an error code, is there another header that I can use to send some sort of description text?
- Does the store have to send some minimal amount of text or other "real" content for this to work? Or can it just output a header and exit?
Thanks --
Comment