Title: Message
If the
consumer has already done the work of breaking up the POST data why require that
the protocol forwards it as a single entity to the producer? The scheme I
submitted would (optionally) allow a processed POST to be forwarded as
string/value and mime parts to a producer (who can always convert it to a single
multi-part mime if it requires a single binary input.
An
example use case for the consumer processing POST data would be a consumer
portal that keeps an audit trail of user submissions.
regards,
Andre
-----Original Message-----
From: Eilon Reshef
[mailto:]
Sent: 16 December 2002
00:27
To:
Subject: RE:
[wsrp-wsia] [I#187] How does POST data reach the Producer
A concrete suggestion follows:
The rationale is that POST data should be opaque to the Consumer.
Hence, I suggest that we do not require the Consumer to parse the POST data in
any way. Instead, the Consumer should pass an argument to the
performInteraction operation (and not to the getMarkup). The argument may be
called payload. This argument will contain the body of the HTTP request that
comes from the browser as-is, excluding the HTTP headers - this should take
care of all form POST scenarios, including document upload and general
parameters.
With this thread of thought, requestParameters are not needed for form
POST. They may or may not be needed for form GET (which is a separate
issue).
Eilon
-----Original Message-----
From: Gil Tayar
[mailto:]
Sent: Sunday, December 15, 2002
1:49 AM
To:
Subject:
[wsrp-wsia] [I#187] How does POST data reach the
Producer
Issue: 187
Status: Active
Topic:
interface
Class: Technical
Raised by: Gil Tayar
Title: How does
POST data reach the Producer
Date Added: 15-Dec-2002
Document
Section: v0.85
Description:
This is not made clear. Two
suggestions I heard - uploadData and requestParameters. Both have their
problems. Maybe something more explicit?
Resolution: