On Mar 21, 2008, at 10:38 AM, Reid Bundonis wrote:

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

This one was easy.  :-)


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.

It is not the difference between 1.0 and 1.1. The problem was that WORequest was not accepting INCLUDED as a valid version (which seems reasonable). This code just replaces an invalid vlaue with a valid one. Using HTTP/1.0 would probably have the same effect.

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.


:-)


Chuck


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to