Re: How to target a WO component in an html include
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