The 2nd was added as there were non-upload
use cases presented for v2 which needed header level information transferred.
The upload case was covered by v1, but in the end that coverage was too
narrow.
Rich
From:
Nathan Lipke <>
To:
Date:
07/19/2010 04:05 PM
Subject:
[wsrp-interfaces] Clarification on mimeAttributes
vs clientAttributes
Does anyone have a reason for having both of these? If
so is there a difference?
1. http://docs.oasis-open.org/wsrp/v2/wsrp-2.0-spec-os-01.html#_UploadContext
mimeAttributes: Attributes received from the client (e.g.
http headers, other attributes relative to the upload file, etc.) that
are not represented elsewhere within the protocol.2.
http://docs.oasis-open.org/wsrp/v2/wsrp-2.0-spec-os-01.html#_ClientData
1. clientAttributes:
Attributes received from the client (e.g. HTTP headers) which are not represented
elsewhere within the WSRP protocol and which the Consumer is choosing to
supply to the Portlet. When this structure is being supplied to the getResource
operation, Consumers SHOULD supply the same set of items which would have
been supplied using the HTTP proxy method of serving the resource.
Thanks,
Nate