RE: [wsrp-wsia] [I#187] How does POST data reach the Producer

From
Eilon Reshef <>
Date
2002-12-16T00:20:02+00:00
ID
00a401c2a499$ec10f100$7286ef18@eilon
Thread
RE: [wsrp-wsia] [I#187] How does POST data reach the Producer
Title: Message

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: