[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Webserver question re: servlets

	To see if I understand correctly: the current import signature for
servlets is

(make-request method uri headers bindings host-ip client-ip)

where bindings are name/value pairs from the form or query part of the
URL. You are suggesting a second/alternative import that would look
something like '(make-request method uri headers big-ol-string host-ip

	If 'big-ol-string' included (or was limited to) the body of the
POST, then yes. An example XML-RPC call might look like

User-Agent: FooClient 1.1
Host: foo.host.com
Content-Type: text/xml
Content-length: 175

<?xml version="1.0"?>

Being able to snag the XML structure from the body is what I'm looking
for a way to do; if it comes in as a string, I can work with that. I think
all the other necessary mechanisms are already in place in the webserver
to allow me to return similar structures without difficulty.

	Just being verbose enough to see if we're on the same page.


Matt Jadud                          mjadud at indiana dot edu
Current Temperature Outside Lindley Hall                 35.2 F /  1.8 C

On Thu, 14 Feb 2002, Paul T. Graunke wrote:

> Servlets always parse the post data as if it came from an HTML form.
> Would an interface that replaced the bindings argument with a unparsed string
> suit your needs?  I would be happy to add such an interface.
> Paul