I believe I have answered my own question. I can use
org.apache.cocoon.generation.StreamGenerator as the generator to access
the content of the request.
Thanks,
Dan
Daniel Curran wrote:
I am performing a PUT request with the header (what is below has been
slightly modified) -
PUT /user/488 HTTP/1.1
Content-Type: text/xml
User-Agent: Java/1.5.0_06
Host: 127.0.0.1:90
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 62
<user><id>1<user>TestUserPut</user><enabled>1</enabled></user>
When I generate from this request (<map:generate type="request")
nothing is being set in the generated XML that would give me access to
this content. Am I performing the PUT wrong? I have been digging
through RequestGenerator.java but I have not yet been able to figure
exactly what I am doing incorrectly.
My current plans are to continue inspecting RequestGenerator.java to
see where I am going wrong, and if I fail to find anything then I will
look into overriding this implimentation with something that also
handles the content that I am sending.
Thanks,
Dan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]