comp.lang.ada
 help / color / mirror / Atom feed
* AWS and "304 Not Modified" responses
@ 2014-03-27 13:02 Natasha Kerensikova
  2014-03-27 16:43 ` Pascal Obry
  0 siblings, 1 reply; 3+ messages in thread
From: Natasha Kerensikova @ 2014-03-27 13:02 UTC (permalink / raw)


Hello,

I hope I'm not too out-of-topic, but I have a little question about
Ada Web Server: how can I send "304 Not Modified" responses on requests
for contents generated by AWS client (i.e. not files), using
Last-Modified/If-Modified-Since and/or Etag/If-None-Match HTTP headers?

I see that when responding with a File, AWS automatically generates
Last-Modified and respond 304 to appropriate If-Modified-Since
conditional requests; But I haven't seen any way of doing the same thing
on generated content.

While I didn't really expected everything to be handled for me, I'm
really surprised by not finding anything to add custom headers to HTTP
responses.

Am I missing something or is it really impossible?


Thanks for your help,
Natasha

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-03-28 15:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-27 13:02 AWS and "304 Not Modified" responses Natasha Kerensikova
2014-03-27 16:43 ` Pascal Obry
2014-03-28 15:01   ` Natasha Kerensikova

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox