* GSWeb.framework/GSWConstants.h/.m:

o added GSWClassName_DefaultContext
		o added GSWOPT_Context
		o added GSWHTTPHeader_ApplicationName
	* GSWeb.framework/GSWContext.m:
		o fix in +contextWithRequest: to use [self alloc]


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@17022 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mguesdon 2003-06-25 15:23:01 +00:00
parent c1ed6ff099
commit d767f61996
3 changed files with 7 additions and 1 deletions

View file

@ -82,6 +82,7 @@ extern NSString* GSWAPIPSuffix;
extern NSString* GSWClassName_Session;
extern NSString* GSWClassName_Application;
extern NSString* GSWClassName_DefaultAdaptor[2];
extern NSString* GSWClassName_DefaultContext[2];
//====================================================================
// Keys
@ -118,6 +119,7 @@ extern NSString* GSWHTTPHeader_GatewayInterface[2];
extern NSString* GSWHTTPHeader_Protocol[2];
extern NSString* GSWHTTPHeader_ProtocolNum[2];
extern NSString* GSWHTTPHeader_RequestScheme[2];
extern NSString* GSWHTTPHeader_ApplicationName[2];
extern NSString* GSWHTTPHeader_Method[2];
extern NSString* GSWHTTPHeader_MethodPost;
@ -159,6 +161,7 @@ extern NSString* GSWProtocol_HTTPS;
// Option Names
extern NSString* GSWOPT_Adaptor[2];
extern NSString* GSWOPT_Context[2];
extern NSString* GSWOPT_AdditionalAdaptors[2];
extern NSString* GSWOPT_ApplicationBaseURL[2];
extern NSString* GSWOPT_AutoOpenInBrowser[2];

View file

@ -87,6 +87,7 @@ NSString* GSWMainPageName=@"Main";
NSString* GSWClassName_Session=@"Session";
NSString* GSWClassName_Application=@"Application";
NSString* GSWClassName_DefaultAdaptor[2]={ @"GSWDefaultAdaptor", @"WODefaultAdaptor" };
NSString* GSWClassName_DefaultContext[2]={ @"GSWContext", @"WOContext" };
//====================================================================
// Keys
@ -126,6 +127,7 @@ NSString* GSWHTTPHeader_GatewayInterface[2]={ @"x-gsweb-gateway-interface", @"x-
NSString* GSWHTTPHeader_Protocol[2]={ @"x-gsweb-server-protocol", @"x-webobjects-server-protocol" };
NSString* GSWHTTPHeader_ProtocolNum[2]={ @"x-gsweb-server-protocol-num", @"x-webobjects-server-protocol-num" };
NSString* GSWHTTPHeader_RequestScheme[2]={ @"x-gsweb-request-scheme", @"x-webobjects-request-scheme" };
NSString* GSWHTTPHeader_ApplicationName[2]={ @"x-gsweb-application-name", @"x-webobjects-application-name" };
NSString* GSWHTTPHeader_MethodPost=@"POST";
NSString* GSWHTTPHeader_MethodGet=@"GET";
@ -167,6 +169,7 @@ NSString* GSWProtocol_HTTPS=@"https";
// Option Names
NSString* GSWOPT_Adaptor[2]={ @"GSWAdaptor", @"WOAdaptor" };
NSString* GSWOPT_Context[2]={ @"GSWContext", @"WOContext" };
NSString* GSWOPT_AdditionalAdaptors[2]={ @"GSWAdditionalAdaptors", @"WOAdditionalAdaptors" };
NSString* GSWOPT_ApplicationBaseURL[2]={ @"GSWApplicationBaseURL", @"WOApplicationBaseURL" };
NSString* GSWOPT_AutoOpenInBrowser[2]={ @"GSWAutoOpenInBrowser", @"WOAutoOpenInBrowser" };

View file

@ -116,7 +116,7 @@ static int dontTraceComponentActionURL=0;
//OK
GSWContext* context=nil;
LOGObjectFnStart();
context=[[[GSWContext alloc]
context=[[[self alloc]
initWithRequest:aRequest]
autorelease];
LOGObjectFnStop();