comp.lang.ada
 help / color / mirror / Atom feed
From: Natasha Kerensikova <lithiumcat@instinctive.eu>
Subject: AWS and "304 Not Modified" responses
Date: Thu, 27 Mar 2014 13:02:01 +0000 (UTC)
Date: 2014-03-27T13:02:01+00:00	[thread overview]
Message-ID: <slrnlj889j.i0l.lithiumcat@nat.rebma.instinctive.eu> (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

             reply	other threads:[~2014-03-27 13:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-27 13:02 Natasha Kerensikova [this message]
2014-03-27 16:43 ` AWS and "304 Not Modified" responses Pascal Obry
2014-03-28 15:01   ` Natasha Kerensikova
replies disabled

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