• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WOApplication.createRequest 5.3 and 5.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOApplication.createRequest 5.3 and 5.4


  • Subject: Re: WOApplication.createRequest 5.3 and 5.4
  • From: Anjo Krank <email@hidden>
  • Date: Sun, 28 Oct 2007 21:41:12 +0100

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 causes a request object not to be
// created by an excepion.
if (anHTTPVersion.startsWith("INCLUDED"))
anHTTPVersion = "HTTP/1.0";


WORequest worequest = new ERXRequest(aMethod, aURL, anHTTPVersion, someHeaders, aContent, someInfo);
return worequest;
}

public WORequest createRequest(String aMethod, String aURL, String anHTTPVersion, Map someHeaders, NSData aContent, NSDictionary someInfo) {
return createRequest(aMethod, aURL, anHTTPVersion, new NSDictionary (someHeaders, false), aContent, someInfo);
}



Am 28.10.2007 um 20:47 schrieb 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


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40logicunited.com


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
  • Follow-Ups:
    • Re: WOApplication.createRequest 5.3 and 5.4
      • From: Anjo Krank <email@hidden>
References: 
 >WOApplication.createRequest 5.3 and 5.4 (From: Andrew Lindesay <email@hidden>)

  • Prev by Date: Re: The Official What-I-Did-To-Run-5.3-On-Leopard Post
  • Next by Date: Re: The Official What-I-Did-To-Run-5.3-On-Leopard Post
  • Previous by thread: WOApplication.createRequest 5.3 and 5.4
  • Next by thread: Re: WOApplication.createRequest 5.3 and 5.4
  • Index(es):
    • Date
    • Thread