• 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: How to target a WO component in an html include
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to target a WO component in an html include


  • Subject: Re: How to target a WO component in an html include
  • From: Reid Bundonis <email@hidden>
  • Date: Fri, 21 Mar 2008 13:38:10 -0400

Once again, Chuck is the king. Thank you very much for sticking through this one with me.


On Mar 21, 2008, at 1:03 PM, Chuck Hill wrote:


See fix below.


...

At least this is easy to fix. Add this to your Application class:
public WORequest createRequest(String aMethod, String aURL, String anHTTPVersion, NSDictionary someHeaders, NSData aContent, NSDictionary someInfo) {
if( ! anHTTPVersion.startsWith("HTTP/")) {
anHTTPVersion = "HTTP/1.1";
}
return super.createRequest(Method, aURL, anHTTPVersion, someHeaders, aContent, someInfo);
}


Profit.

Kaching! I owe you a beer. Again.

I thought the major difference between 1.0 and 1.1 was that the host was sent in the requesting header. Amazing that this was the problem. Again, I thank you for your time and effort to help me resolve this. Now I feel obligated to at least try and move off of XCode. :) Well, maybe after the next project.

Reid


_______________________________________________
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: How to target a WO component in an html include
      • From: Chuck Hill <email@hidden>
References: 
 >How to target a WO component in an html include (From: Reid Bundonis <email@hidden>)
 >Re: How to target a WO component in an html include (From: Chuck Hill <email@hidden>)
 >Re: How to target a WO component in an html include (From: Reid Bundonis <email@hidden>)
 >Re: How to target a WO component in an html include (From: Chuck Hill <email@hidden>)
 >Re: How to target a WO component in an html include (From: Reid Bundonis <email@hidden>)
 >Re: How to target a WO component in an html include (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: [ANN] WO/WOLips/Wonder intro screencast
  • Next by Date: Re: Help with this db design
  • Previous by thread: Re: How to target a WO component in an html include
  • Next by thread: Re: How to target a WO component in an html include
  • Index(es):
    • Date
    • Thread