Re: WOApplication.createRequest 5.3 and 5.4

2007-10-29 Thread Anjo Krank
As super does the same thing without WORequest, I don't see why it's needed. But no, it isn't (without resorting to pretty fugly refelction). Go write a bug report against WO for this unneeded and unfriendly change of public api... Cheers, Anjo Am 30.10.2007 um 01:04 schrieb Andrew Lindesa

Re: WOApplication.createRequest 5.3 and 5.4

2007-10-29 Thread Andrew Lindesay
Hello Anjo; I suppose if one wanted to fiddle with the headers and then call super this is not going to work is it? cheers. Actually, to be able to compile, you have to write: public WORequest createRequest(String aMethod, String aURL, String anHTTPVersion, NSDictionary someHeaders, NSD

Re: WOApplication.createRequest 5.3 and 5.4

2007-10-29 Thread Anjo Krank
Three's a charm. Yes, you're right (almost, you have to say (someInfo == null ? null: new NSDictionary(someInfo, false))). Cheers, Anjo Am 29.10.2007 um 19:56 schrieb Art Isbell: On Oct 29, 2007, at 5:30 AM, Anjo Krank wrote: Actually, to be able to compile, you have to write: public W

Re: WOApplication.createRequest 5.3 and 5.4

2007-10-29 Thread Art Isbell
On Oct 29, 2007, at 5:30 AM, Anjo Krank wrote: Actually, to be able to compile, you have to write: public WORequest createRequest(String aMethod, String aURL, String anHTTPVersion, Map someHeaders, NSData aContent, NSDictionary someInfo) { return _createRequest(aMethod, aURL, anHTTPVers

Re: WOApplication.createRequest 5.3 and 5.4

2007-10-29 Thread Anjo Krank
Actually, to be able to compile, you have to write: public WORequest createRequest(String aMethod, String aURL, String anHTTPVersion, NSDictionary someHeaders, NSData aContent, NSDictionary someInfo) { return _createRequest(aMethod, aURL, anHTTPVersion, new NSDictionary (someHeaders, fals

Re: WOApplication.createRequest 5.3 and 5.4

2007-10-28 Thread Anjo Krank
Bla Wonder, bla: public WORequest createRequest(String aMethod, String aURL, String anHTTPVersion, NSDictionary someHeaders, NSData aContent, NSDictionary someInfo) { // Workaround for #3428067 (Apache Server Side Include module will feed // "INCLUDED" as the HTTP version, which cau

WOApplication.createRequest 5.3 and 5.4

2007-10-28 Thread Andrew Lindesay
Hello; Has anybody else identified a 5.3 and 5.4 API compatible means of overriding "WOApplication.createRequest(...)" ? I presume this is not possible. cheers. ___ Andrew Lindesay technology : www.lindesay.co.nz business : www.silvereye.co.nz ___