Re: Method 'PUT' is not supported
Re: Method 'PUT' is not supported
- Subject: Re: Method 'PUT' is not supported
- From: Mike Schrag <email@hidden>
- Date: Thu, 5 Jun 2008 18:06:12 -0400
Is this 5.3 or 5.4? In 5.3, mod_WebObjects doesn't know about put/
delete, only post/get. The Wonder 5.3 adaptor supports put/delete,
though (actually all request types). Actually it looks like this
error is from the constructor of WOReqest. Literally all you need is
a subclass to bypass that check, though -- it actually checks that
it's a WORequest class. I don't think anything in WO even cares,
though.
ms
On Jun 5, 2008, at 5:34 PM, Alex Cone wrote:
Anyone know what causes this odd error to pop up when doing direct
action calls?
<WORequest>: Method 'PUT' is not supported. To support 'PUT', you
will have to implement a subclass of WORequest, and force WebObjects
to instantiate it by implementing WOApplication's createRequest()
method in your subclass of WOApplication.
I'm constructing a form post in code with assorted fields. In some
cases I can get around it by switching to a GET style post, but for
some method calls i really have to use PUT.
Any clue what would make WO complain about this?
abc
__alex cone
ceo codefab inc
212 465-8484 x101
email@hidden
http://www.codefab.com
If you are not living on the edge, you are taking up too much space.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden