[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ 100840 ] GSHTTPURLHandle doesn't send host header
From: |
nobody |
Subject: |
[ 100840 ] GSHTTPURLHandle doesn't send host header |
Date: |
Wed, 01 May 2002 15:50:17 -0400 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [ 100840 ] GSHTTPURLHandle doesn't send host header,
nobody <=