Support Request #100840, was updated on 2002-May-01 15:50
You can respond by visiting:
http://savannah.gnu.org/support/?func=detailsupport&support_id=100840&group_id=99
Category: Foundation
Status: Open
Priority: 5
Summary: GSHTTPURLHandle doesn't send host header
By: lcampbel
Date: 2002-May-01 15:50
Message:
Logged In: NO
Browser: Mozilla/4.5 (compatible; OmniWeb/4.1-v391; Mac_PowerPC)
GSHTTPURLHandle doesn't send a Host header with its request. This breaks lots of
things (proxies, SOAP servers, etc.).
Here's the fix:
====
//projects/shared/gnustep-base-1.1.0/akamai/gnustep-base/Source/GSHTTPURLHandle.m#2
(text) -
//projects/shared/gnustep-base-1.1.0/akamai/gnustep-base/Source/GSHTTPURLHandle.m#3
(text) ==== content
@@ -576,6 +576,8 @@
[s appendFormat: @" HTTP/%@\nHost: %@\r\n", httpVersion, [url host]];
}
+ [wProperties setObject:[url host] forKey:@"host"];
+
if ([wData length] > 0)
{
[wProperties setObject: [NSString stringWithFormat: @"%d", [wData length]]
----------------------------------------------------------------------
You can respond by visiting:
http://savannah.gnu.org/support/?func=detailsupport&support_id=100840&group_id=99
_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep