Added https, ftp and ftps to list of supported server protocols, and add ability for curl plugin to ignore the need for a server address when .curl extension is used.

This commit is contained in:
Robert Osfield
2010-09-15 10:24:59 +00:00
parent d044d135f5
commit d96e57c0c3
2 changed files with 20 additions and 17 deletions

View File

@@ -367,8 +367,11 @@ Registry::Registry()
addMimeTypeExtensionMapping( mimeType, builtinMimeTypeExtMappings[i+1] );
}
// register http-protocol, so the curl can handle it, if necessary
// register server protocols, so the curl can handle it, if necessary
registerProtocol("http");
registerProtocol("https");
registerProtocol("ftp");
registerProtocol("ftps");
_objectWrapperManager = new ObjectWrapperManager;
_deprecatedDotOsgWrapperManager = new DeprecatedDotOsgWrapperManager;