[jdev] Binary Data via HTTP
stpeter at stpeter.im
Mon Mar 24 14:21:36 CDT 2008
Dallas Gutauckis wrote:
> Hello all,
> I am interested in having a specification to define how a server might
> let a client know certain binary data is available via HTTP.
> server made available to me certain data (like user avatars) in their
> "natural" form such that I would be able to make use of a standard image
> tag with http://... as the `src` attribute, instead of using the base64
> as the `src` (which some browsers do not support)
> I also see that this might be useful for the purposes of having the
> able to handle an ordinary XMPP-defined file transfer) It is suggested
> that the server might download the file, and make available to the
> client (when complete) the address (and possibly other data pertinent to
> a file transfer) from which a user (via web browser) might be able to
> download said file.
> Please let me know what you think, and how we might structure this.
We have a way to include the HTTP URL for an avatar or whatever (from
Example 4. Publishing avatar metadata
<iq type='set' from='juliet at capulet.lit/chamber' id='publish2'>
Do you want a way for the publishing entity to find out from the server
what the URL is? That is, when I configure the avatar in my client, the
client sends it to my server (or simply publishes it) and the server
tells the client the URL at which the data can be retrieved via HTTP?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7338 bytes
Desc: S/MIME Cryptographic Signature
More information about the JDev