Ian Bicking wrote:

> > request().fields() are {} in servlet.respondToPut() method
> > WeKit version from CVS has rawInput() method, but what for 0.7?

> You could try xmlInput() -- it's essentially the same as rawInput()
> (though I believe it returns a string), and doesn't actually check that
> XML was uploaded.

Alas, it is None either.
Btw, seems like HTTPRequest does check for text/xml:
         if self._environ.get('CONTENT_TYPE', None)=='text/xml':
            self._xmlInput = self._input
            self._input = StringIO('')
...
      else:
         # If there's no dictionary, we pretend we're a CGI script and see what 
happens...
         import time
         self._time    = time.time()
         self._environ = os.environ.copy()
         self._input   = None
         self._xmlInput = None
         self._fields  = cgi.FieldStorage(keep_blank_values=1)

If I set content-type I got this very strange error:
$ curl -s -H 'Content-type: text/xml' -T ~/xxx  'http://xxxx/'
<html><body>
<p><pre>ERROR

Traceback (most recent call last):
  File &quot;./WebKit/CGIAdapter.py&quot;, line 69, in run
  File &quot;./WebKit/Adapter.py&quot;, line 65, in transactWithAppServer
error: (107, 'Transport endpoint is not connected')
</pre>
</body></html>


-- 
Bst rgrds, M.A.X.: Mechanical Artificial Xenomorph.


-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to