mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-05-30 16:50:52 +00:00
* GSWExtensions/GSWPageRestorationErrorPage.gswc/GSWPageRestorationErrorPage.gswd
* GSWExtensions/GSWSessionCreationErrorPage.gswc/GSWSessionCreationErrorPage.gswd * GSWExtensions/GNUmakefile * GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.gswd * GSWExtensions/GSWExceptionPage.gswc/GSWExceptionPage.gswd use exclamation.png. exclamation.svg is not displayed inline in mozilla due to a bug in mozilla. * GSWExtensions/WebServerResources/exclamation.png * GSWExtensions/WebServerResources/exclamation.svg new file * GSWExtensions/GSWSessionRestorationErrorPage.gswc/GSWSessionRestorationErrorPage.html * GSWExtensions/GSWExceptionPage.gswc/GSWExceptionPage.html better web design * GSWeb/GSWApplication.m -path get path from _resourceManager _resetCache do not call _clearCache, maybe we should trash the _componentDefinitionCache? _finishInitializingSession: make empty, still seems to work +_applicationClass don not use _applicationGSWBundle * GSWeb/GSWResourceManager.h * GSWeb/GSWResourceManager.m major redesign with WO 4.5 docs in mind. * GSWeb/GSWImageButton.m refactor resourceManager code * GSWeb/GSWeb.h remove GSWBundle class * Testing/DynamicElements added Image test. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30806 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c5b731b3ca
commit
39c130d0f5
40 changed files with 1306 additions and 3053 deletions
|
@ -101,7 +101,9 @@ void GSWResponse_appendTagAttributeValueEscapingHTMLAttributeValue(GSWResponse*
|
|||
@"text/calendar",
|
||||
@"text/x-vcalendar",
|
||||
@"text/enriched",
|
||||
@"text/directory",nil]));
|
||||
@"text/directory",
|
||||
@"image/svg+xml",
|
||||
nil]));
|
||||
|
||||
};
|
||||
};
|
||||
|
@ -277,6 +279,14 @@ void GSWResponse_appendTagAttributeValueEscapingHTMLAttributeValue(GSWResponse*
|
|||
|
||||
dataLength=[self _contentLength];
|
||||
|
||||
if (dataLength>0) {
|
||||
NSString * eTagString = [NSString stringWithFormat:@"%lx",
|
||||
(unsigned long) [_contentData hash]];
|
||||
|
||||
[self setHeader:eTagString
|
||||
forKey:@"ETag"];
|
||||
}
|
||||
|
||||
// Now we see if we can gzip the content
|
||||
// it does not make sense to compress data less than 150 bytes.
|
||||
if ((dataLength > 150) && ([self _browserSupportsCompression:[aContext request]]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue