- From: Rahul Gupta <cxres@protonmail.com>
- Date: Thu, 06 Apr 2023 05:49:04 +0000
- To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
- Message-ID: <UkJvE4QbD492MQAUpXFT2JbpVWNbkMUTbZMh-KnTiupBSLRygnVp4fAlsCanrNgJanRLuhJvnBMXNNZ>
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 Sent with Proton Mail secure email.
Attachments
- application/pgp-keys attachment: publickey_-_cxres_protonmail.com_-_0x0CEC7748.asc
Received on Friday, 14 April 2023 17:11:32 UTC