- From: Rahul Gupta <cxres@protonmail.com>
- Date: Thu, 13 Apr 2023 10:20:23 +0000
- To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
- Message-ID: <YtpgHcZXHl6GJwrLL8x47BC2HA5TgzHuhg0ePMuyVmFEUc8HYT2bfjYmPH1YWlGrQayZKqB2I1sHj-Y>
(I am reposting this question from a w3c registered email because the w3c listing manager has failed to assess my e-mail to this group in one week despite two day commitment. Poor form!) I have seen similar questions asked elsewhere, but I cannot seem to find an authoritative answer. Neither has reading the relevant RFCs helped. Here is my use-case. I would like to design a resource whereupon a GET request, the client receives the representation of the resource followed by a stream of notifications about changes to that resource. Now, I understand the response will contain the header `Content-Type: multipart/mixed; boundary=<random string>` with each content piece then having their own `Content-Type: something/else` specified. Now my question is how does the client, say though the Accept header (or another means), specify the MIME type for the individual component messages, i.e. specify `something/else`. In particular, what if a client wants separate Content-Types for the primary representation and the subsequent notifications? Thanks in advance, Rahul
Attachments
- application/pgp-keys attachment: publickey_-_cxres_protonmail.com_-_0x0CEC7748.asc
Received on Friday, 14 April 2023 17:11:31 UTC