mirror of
https://github.com/swisspol/GCDWebServer.git
synced 2026-04-24 00:00:04 +08:00
#35 More work on unit tests
This commit is contained in:
@@ -85,6 +85,8 @@ NSDate* GCDWebServerParseISO8601(NSString* string);
|
|||||||
#if !TARGET_OS_IPHONE
|
#if !TARGET_OS_IPHONE
|
||||||
@property(nonatomic, getter=isRecordingEnabled) BOOL recordingEnabled; // Creates files in the current directory containing the raw data for all requests and responses (directory most NOT contain prior recordings)
|
@property(nonatomic, getter=isRecordingEnabled) BOOL recordingEnabled; // Creates files in the current directory containing the raw data for all requests and responses (directory most NOT contain prior recordings)
|
||||||
- (BOOL)runWithPort:(NSUInteger)port; // Starts then automatically stops on SIGINT i.e. Ctrl-C (use on main thread only)
|
- (BOOL)runWithPort:(NSUInteger)port; // Starts then automatically stops on SIGINT i.e. Ctrl-C (use on main thread only)
|
||||||
|
#endif
|
||||||
|
#ifdef __GCDWEBSERVER_ENABLE_TESTING__
|
||||||
- (NSInteger)runTestsInDirectory:(NSString*)path withPort:(NSUInteger)port; // Returns number of failed tests or -1 if server failed to start
|
- (NSInteger)runTestsInDirectory:(NSString*)path withPort:(NSUInteger)port; // Returns number of failed tests or -1 if server failed to start
|
||||||
#endif
|
#endif
|
||||||
@end
|
@end
|
||||||
|
|||||||
+116
-91
@@ -622,45 +622,56 @@ static void _NetServiceClientCallBack(CFNetServiceRef service, CFStreamError* er
|
|||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
|
|
||||||
static CFHTTPMessageRef _CreateHTTPMessageFromFileDump(NSString* path, BOOL isRequest) {
|
#endif
|
||||||
NSData* data = [NSData dataWithContentsOfFile:path];
|
|
||||||
if (data) {
|
#ifdef __GCDWEBSERVER_ENABLE_TESTING__
|
||||||
CFHTTPMessageRef message = CFHTTPMessageCreateEmpty(kCFAllocatorDefault, isRequest);
|
|
||||||
if (CFHTTPMessageAppendBytes(message, data.bytes, data.length)) {
|
static CFHTTPMessageRef _CreateHTTPMessageFromData(NSData* data, BOOL isRequest) {
|
||||||
return message;
|
CFHTTPMessageRef message = CFHTTPMessageCreateEmpty(kCFAllocatorDefault, isRequest);
|
||||||
}
|
if (CFHTTPMessageAppendBytes(message, data.bytes, data.length)) {
|
||||||
CFRelease(message);
|
return message;
|
||||||
}
|
}
|
||||||
|
CFRelease(message);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static CFHTTPMessageRef _CreateHTTPMessageFromHTTPRequestResponse(CFHTTPMessageRef request) {
|
static CFHTTPMessageRef _CreateHTTPMessageFromPerformingRequest(NSData* inData, NSUInteger port) {
|
||||||
CFHTTPMessageRef response = NULL;
|
CFHTTPMessageRef response = NULL;
|
||||||
CFReadStreamRef stream = CFReadStreamCreateForHTTPRequest(kCFAllocatorDefault, request);
|
int httpSocket = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP);
|
||||||
if (CFReadStreamOpen(stream)) {
|
if (httpSocket > 0) {
|
||||||
CFMutableDataRef data = CFDataCreateMutable(kCFAllocatorDefault, 0);
|
struct sockaddr_in addr4;
|
||||||
CFDataSetLength(data, 256 * 1024);
|
bzero(&addr4, sizeof(addr4));
|
||||||
CFIndex length = 0;
|
addr4.sin_len = sizeof(port);
|
||||||
while (1) {
|
addr4.sin_family = AF_INET;
|
||||||
CFIndex result = CFReadStreamRead(stream, CFDataGetMutableBytePtr(data) + length, CFDataGetLength(data) - length);
|
addr4.sin_port = htons(8080);
|
||||||
if (result <= 0) {
|
addr4.sin_addr.s_addr = htonl(INADDR_ANY);
|
||||||
break;
|
if (connect(httpSocket, (void*)&addr4, sizeof(addr4)) == 0) {
|
||||||
}
|
if (write(httpSocket, inData.bytes, inData.length) == (ssize_t)inData.length) {
|
||||||
length += result;
|
NSMutableData* outData = [[NSMutableData alloc] initWithLength:(256 * 1024)];
|
||||||
if (length >= CFDataGetLength(data)) {
|
NSUInteger length = 0;
|
||||||
CFDataSetLength(data, 2 * CFDataGetLength(data));
|
while (1) {
|
||||||
|
ssize_t result = read(httpSocket, (char*)outData.mutableBytes + length, outData.length - length);
|
||||||
|
if (result < 0) {
|
||||||
|
length = NSNotFound;
|
||||||
|
break;
|
||||||
|
} else if (result == 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
length += result;
|
||||||
|
if (length >= outData.length) {
|
||||||
|
outData.length = 2 * outData.length;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (length != NSNotFound) {
|
||||||
|
outData.length = length;
|
||||||
|
response = _CreateHTTPMessageFromData(outData, NO);
|
||||||
|
} else {
|
||||||
|
DNOT_REACHED();
|
||||||
|
}
|
||||||
|
ARC_RELEASE(outData);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (CFReadStreamGetStatus(stream) == kCFStreamStatusAtEnd) {
|
close(httpSocket);
|
||||||
response = (CFHTTPMessageRef)CFReadStreamCopyProperty(stream, kCFStreamPropertyHTTPResponseHeader);
|
|
||||||
if (response) {
|
|
||||||
CFDataSetLength(data, length);
|
|
||||||
CFHTTPMessageSetBody(response, data);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
CFRelease(data);
|
|
||||||
CFReadStreamClose(stream);
|
|
||||||
CFRelease(stream);
|
|
||||||
}
|
}
|
||||||
return response;
|
return response;
|
||||||
}
|
}
|
||||||
@@ -675,6 +686,7 @@ static void _LogResult(NSString* format, ...) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (NSInteger)runTestsInDirectory:(NSString*)path withPort:(NSUInteger)port {
|
- (NSInteger)runTestsInDirectory:(NSString*)path withPort:(NSUInteger)port {
|
||||||
|
NSArray* ignoredHeaders = @[@"Date", @"Etag"]; // Dates are always different by definition and ETags depend on file system node IDs
|
||||||
NSInteger result = -1;
|
NSInteger result = -1;
|
||||||
if ([self startWithPort:port bonjourName:nil]) {
|
if ([self startWithPort:port bonjourName:nil]) {
|
||||||
|
|
||||||
@@ -687,72 +699,85 @@ static void _LogResult(NSString* format, ...) {
|
|||||||
@autoreleasepool {
|
@autoreleasepool {
|
||||||
NSString* index = [[requestFile componentsSeparatedByString:@"-"] firstObject];
|
NSString* index = [[requestFile componentsSeparatedByString:@"-"] firstObject];
|
||||||
BOOL success = NO;
|
BOOL success = NO;
|
||||||
CFHTTPMessageRef request = _CreateHTTPMessageFromFileDump([path stringByAppendingPathComponent:requestFile], YES);
|
NSData* requestData = [NSData dataWithContentsOfFile:[path stringByAppendingPathComponent:requestFile]];
|
||||||
if (request) {
|
if (requestData) {
|
||||||
_LogResult(@"[%i] %@ %@", (int)[index integerValue], ARC_BRIDGE_RELEASE(CFHTTPMessageCopyRequestMethod(request)), [ARC_BRIDGE_RELEASE(CFHTTPMessageCopyRequestURL(request)) path]);
|
CFHTTPMessageRef request = _CreateHTTPMessageFromData(requestData, YES);
|
||||||
NSString* prefix = [index stringByAppendingString:@"-"];
|
if (request) {
|
||||||
for (NSString* responseFile in files) {
|
NSString* requestMethod = ARC_BRIDGE_RELEASE(CFHTTPMessageCopyRequestMethod(request));
|
||||||
if ([responseFile hasPrefix:prefix] && [responseFile hasSuffix:@".response"]) {
|
NSURL* requestURL = ARC_BRIDGE_RELEASE(CFHTTPMessageCopyRequestURL(request));
|
||||||
CFHTTPMessageRef expectedResponse = _CreateHTTPMessageFromFileDump([path stringByAppendingPathComponent:responseFile], NO);
|
_LogResult(@"[%i] %@ %@", (int)[index integerValue], requestMethod, requestURL.path);
|
||||||
if (expectedResponse) {
|
NSString* prefix = [index stringByAppendingString:@"-"];
|
||||||
CFHTTPMessageRef actualResponse = _CreateHTTPMessageFromHTTPRequestResponse(request);
|
for (NSString* responseFile in files) {
|
||||||
if (actualResponse) {
|
if ([responseFile hasPrefix:prefix] && [responseFile hasSuffix:@".response"]) {
|
||||||
success = YES;
|
NSData* responseData = [NSData dataWithContentsOfFile:[path stringByAppendingPathComponent:responseFile]];
|
||||||
|
if (responseData) {
|
||||||
CFIndex expectedStatusCode = CFHTTPMessageGetResponseStatusCode(expectedResponse);
|
CFHTTPMessageRef expectedResponse = _CreateHTTPMessageFromData(responseData, NO);
|
||||||
CFIndex actualStatusCode = CFHTTPMessageGetResponseStatusCode(actualResponse);
|
if (expectedResponse) {
|
||||||
if (actualStatusCode != expectedStatusCode) {
|
CFHTTPMessageRef actualResponse = _CreateHTTPMessageFromPerformingRequest(requestData, port);
|
||||||
_LogResult(@" Status code not matching:\n Expected: %i\n Actual: %i", (int)expectedStatusCode, (int)actualStatusCode);
|
if (actualResponse) {
|
||||||
success = NO;
|
success = YES;
|
||||||
}
|
|
||||||
|
CFIndex expectedStatusCode = CFHTTPMessageGetResponseStatusCode(expectedResponse);
|
||||||
NSDictionary* expectedHeaders = ARC_BRIDGE_RELEASE(CFHTTPMessageCopyAllHeaderFields(expectedResponse));
|
CFIndex actualStatusCode = CFHTTPMessageGetResponseStatusCode(actualResponse);
|
||||||
NSDictionary* actualHeaders = ARC_BRIDGE_RELEASE(CFHTTPMessageCopyAllHeaderFields(actualResponse));
|
if (actualStatusCode != expectedStatusCode) {
|
||||||
for (NSString* expectedHeader in expectedHeaders) {
|
_LogResult(@" Status code not matching:\n Expected: %i\n Actual: %i", (int)expectedStatusCode, (int)actualStatusCode);
|
||||||
if ([expectedHeader isEqualToString:@"Date"]) {
|
success = NO;
|
||||||
continue;
|
|
||||||
}
|
|
||||||
NSString* expectedValue = [expectedHeaders objectForKey:expectedHeader];
|
|
||||||
NSString* actualValue = [actualHeaders objectForKey:expectedHeader];
|
|
||||||
if (![actualValue isEqualToString:expectedValue]) {
|
|
||||||
_LogResult(@" Header '%@' not matching:\n Expected: \"%@\"\n Actual: \"%@\"", expectedHeader, expectedValue, actualValue);
|
|
||||||
success = NO;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
for (NSString* actualHeader in actualHeaders) {
|
|
||||||
if (![expectedHeaders objectForKey:actualHeader]) {
|
|
||||||
_LogResult(@" Header '%@' not matching:\n Expected: \"%@\"\n Actual: \"%@\"", actualHeader, nil, [actualHeaders objectForKey:actualHeader]);
|
|
||||||
success = NO;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
NSData* expectedBody = ARC_BRIDGE_RELEASE(CFHTTPMessageCopyBody(expectedResponse));
|
|
||||||
NSData* actualBody = ARC_BRIDGE_RELEASE(CFHTTPMessageCopyBody(actualResponse));
|
|
||||||
if (![actualBody isEqualToData:expectedBody]) {
|
|
||||||
_LogResult(@" Bodies not matching:\n Expected: %lu bytes\n Actual: %lu bytes", (unsigned long)expectedBody.length, (unsigned long)actualBody.length);
|
|
||||||
success = NO;
|
|
||||||
|
|
||||||
if (_IsTextContentType([expectedHeaders objectForKey:@"Content-Type"])) {
|
|
||||||
NSString* expectedPath = [NSTemporaryDirectory() stringByAppendingPathComponent:[[[NSProcessInfo processInfo] globallyUniqueString] stringByAppendingPathExtension:@"txt"]];
|
|
||||||
NSString* actualPath = [NSTemporaryDirectory() stringByAppendingPathComponent:[[[NSProcessInfo processInfo] globallyUniqueString] stringByAppendingPathExtension:@"txt"]];
|
|
||||||
if ([expectedBody writeToFile:expectedPath atomically:YES] && [actualBody writeToFile:actualPath atomically:YES]) {
|
|
||||||
NSTask* task = [[NSTask alloc] init];
|
|
||||||
[task setLaunchPath:@"/usr/bin/opendiff"];
|
|
||||||
[task setArguments:@[expectedPath, actualPath]];
|
|
||||||
[task launch];
|
|
||||||
ARC_RELEASE(task);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NSDictionary* expectedHeaders = ARC_BRIDGE_RELEASE(CFHTTPMessageCopyAllHeaderFields(expectedResponse));
|
||||||
|
NSDictionary* actualHeaders = ARC_BRIDGE_RELEASE(CFHTTPMessageCopyAllHeaderFields(actualResponse));
|
||||||
|
for (NSString* expectedHeader in expectedHeaders) {
|
||||||
|
if ([ignoredHeaders containsObject:expectedHeader]) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
NSString* expectedValue = [expectedHeaders objectForKey:expectedHeader];
|
||||||
|
NSString* actualValue = [actualHeaders objectForKey:expectedHeader];
|
||||||
|
if (![actualValue isEqualToString:expectedValue]) {
|
||||||
|
_LogResult(@" Header '%@' not matching:\n Expected: \"%@\"\n Actual: \"%@\"", expectedHeader, expectedValue, actualValue);
|
||||||
|
success = NO;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for (NSString* actualHeader in actualHeaders) {
|
||||||
|
if (![expectedHeaders objectForKey:actualHeader]) {
|
||||||
|
_LogResult(@" Header '%@' not matching:\n Expected: \"%@\"\n Actual: \"%@\"", actualHeader, nil, [actualHeaders objectForKey:actualHeader]);
|
||||||
|
success = NO;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
NSData* expectedBody = ARC_BRIDGE_RELEASE(CFHTTPMessageCopyBody(expectedResponse));
|
||||||
|
NSData* actualBody = ARC_BRIDGE_RELEASE(CFHTTPMessageCopyBody(actualResponse));
|
||||||
|
if (![actualBody isEqualToData:expectedBody]) {
|
||||||
|
_LogResult(@" Bodies not matching:\n Expected: %lu bytes\n Actual: %lu bytes", (unsigned long)expectedBody.length, (unsigned long)actualBody.length);
|
||||||
|
success = NO;
|
||||||
|
#ifndef NDEBUG
|
||||||
|
if (_IsTextContentType([expectedHeaders objectForKey:@"Content-Type"])) {
|
||||||
|
NSString* expectedPath = [NSTemporaryDirectory() stringByAppendingPathComponent:[[[NSProcessInfo processInfo] globallyUniqueString] stringByAppendingPathExtension:@"txt"]];
|
||||||
|
NSString* actualPath = [NSTemporaryDirectory() stringByAppendingPathComponent:[[[NSProcessInfo processInfo] globallyUniqueString] stringByAppendingPathExtension:@"txt"]];
|
||||||
|
if ([expectedBody writeToFile:expectedPath atomically:YES] && [actualBody writeToFile:actualPath atomically:YES]) {
|
||||||
|
NSTask* task = [[NSTask alloc] init];
|
||||||
|
[task setLaunchPath:@"/usr/bin/opendiff"];
|
||||||
|
[task setArguments:@[expectedPath, actualPath]];
|
||||||
|
[task launch];
|
||||||
|
ARC_RELEASE(task);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
CFRelease(actualResponse);
|
||||||
}
|
}
|
||||||
|
CFRelease(expectedResponse);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
CFRelease(actualResponse);
|
DNOT_REACHED();
|
||||||
}
|
}
|
||||||
CFRelease(expectedResponse);
|
break;
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
CFRelease(request);
|
||||||
}
|
}
|
||||||
CFRelease(request);
|
} else {
|
||||||
|
DNOT_REACHED();
|
||||||
}
|
}
|
||||||
_LogResult(@"");
|
_LogResult(@"");
|
||||||
if (!success) {
|
if (!success) {
|
||||||
|
|||||||
@@ -78,6 +78,22 @@ static inline NSError* _MakePosixError(int code) {
|
|||||||
*error = _MakePosixError(errno);
|
*error = _MakePosixError(errno);
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
|
#ifdef __GCDWEBSERVER_ENABLE_TESTING__
|
||||||
|
NSString* creationDateHeader = [self.headers objectForKey:@"X-GCDWebServer-CreationDate"];
|
||||||
|
if (creationDateHeader) {
|
||||||
|
NSDate* date = GCDWebServerParseISO8601(creationDateHeader);
|
||||||
|
if (!date || ![[NSFileManager defaultManager] setAttributes:@{NSFileCreationDate: date} ofItemAtPath:_temporaryPath error:error]) {
|
||||||
|
return NO;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
NSString* modifiedDateHeader = [self.headers objectForKey:@"X-GCDWebServer-ModifiedDate"];
|
||||||
|
if (modifiedDateHeader) {
|
||||||
|
NSDate* date = GCDWebServerParseRFC822(modifiedDateHeader);
|
||||||
|
if (!date || ![[NSFileManager defaultManager] setAttributes:@{NSFileModificationDate: date} ofItemAtPath:_temporaryPath error:error]) {
|
||||||
|
return NO;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -214,6 +214,15 @@ static inline BOOL _IsMacFinder(GCDWebServerRequest* request) {
|
|||||||
if (![[NSFileManager defaultManager] createDirectoryAtPath:absolutePath withIntermediateDirectories:NO attributes:nil error:&error]) {
|
if (![[NSFileManager defaultManager] createDirectoryAtPath:absolutePath withIntermediateDirectories:NO attributes:nil error:&error]) {
|
||||||
return [GCDWebServerErrorResponse responseWithServerError:kGCDWebServerHTTPStatusCode_InternalServerError underlyingError:error message:@"Failed creating directory \"%@\"", relativePath];
|
return [GCDWebServerErrorResponse responseWithServerError:kGCDWebServerHTTPStatusCode_InternalServerError underlyingError:error message:@"Failed creating directory \"%@\"", relativePath];
|
||||||
}
|
}
|
||||||
|
#ifdef __GCDWEBSERVER_ENABLE_TESTING__
|
||||||
|
NSString* creationDateHeader = [request.headers objectForKey:@"X-GCDWebServer-CreationDate"];
|
||||||
|
if (creationDateHeader) {
|
||||||
|
NSDate* date = GCDWebServerParseISO8601(creationDateHeader);
|
||||||
|
if (!date || ![[NSFileManager defaultManager] setAttributes:@{NSFileCreationDate: date} ofItemAtPath:absolutePath error:&error]) {
|
||||||
|
return [GCDWebServerErrorResponse responseWithServerError:kGCDWebServerHTTPStatusCode_InternalServerError underlyingError:error message:@"Failed setting creation date for directory \"%@\"", relativePath];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if ([_delegate respondsToSelector:@selector(davServer:didCreateDirectoryAtPath:)]) {
|
if ([_delegate respondsToSelector:@selector(davServer:didCreateDirectoryAtPath:)]) {
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
@@ -519,6 +528,12 @@ static inline xmlNodePtr _XMLChildWithName(xmlNodePtr child, const xmlChar* name
|
|||||||
return [GCDWebServerErrorResponse responseWithClientError:kGCDWebServerHTTPStatusCode_Forbidden message:@"Locking item name \"%@\" is not allowed", itemName];
|
return [GCDWebServerErrorResponse responseWithClientError:kGCDWebServerHTTPStatusCode_Forbidden message:@"Locking item name \"%@\" is not allowed", itemName];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __GCDWEBSERVER_ENABLE_TESTING__
|
||||||
|
NSString* lockTokenHeader = [request.headers objectForKey:@"X-GCDWebServer-LockToken"];
|
||||||
|
if (lockTokenHeader) {
|
||||||
|
token = lockTokenHeader;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
if (!token) {
|
if (!token) {
|
||||||
CFUUIDRef uuid = CFUUIDCreate(kCFAllocatorDefault);
|
CFUUIDRef uuid = CFUUIDCreate(kCFAllocatorDefault);
|
||||||
CFStringRef string = CFUUIDCreateString(kCFAllocatorDefault, uuid);
|
CFStringRef string = CFUUIDCreateString(kCFAllocatorDefault, uuid);
|
||||||
|
|||||||
@@ -461,6 +461,7 @@
|
|||||||
buildSettings = {
|
buildSettings = {
|
||||||
CLANG_ENABLE_OBJC_ARC = YES;
|
CLANG_ENABLE_OBJC_ARC = YES;
|
||||||
GCC_OPTIMIZATION_LEVEL = 0;
|
GCC_OPTIMIZATION_LEVEL = 0;
|
||||||
|
GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS = __GCDWEBSERVER_ENABLE_TESTING__;
|
||||||
HEADER_SEARCH_PATHS = "$(SDKROOT)/usr/include/libxml2";
|
HEADER_SEARCH_PATHS = "$(SDKROOT)/usr/include/libxml2";
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
ONLY_ACTIVE_ARCH = YES;
|
||||||
WARNING_CFLAGS = (
|
WARNING_CFLAGS = (
|
||||||
@@ -488,6 +489,7 @@
|
|||||||
buildSettings = {
|
buildSettings = {
|
||||||
CLANG_ENABLE_OBJC_ARC = YES;
|
CLANG_ENABLE_OBJC_ARC = YES;
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = NDEBUG;
|
GCC_PREPROCESSOR_DEFINITIONS = NDEBUG;
|
||||||
|
GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS = __GCDWEBSERVER_ENABLE_TESTING__;
|
||||||
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
|
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
|
||||||
HEADER_SEARCH_PATHS = "$(SDKROOT)/usr/include/libxml2";
|
HEADER_SEARCH_PATHS = "$(SDKROOT)/usr/include/libxml2";
|
||||||
WARNING_CFLAGS = "-Wall";
|
WARNING_CFLAGS = "-Wall";
|
||||||
|
|||||||
+13
-5
@@ -2,18 +2,20 @@
|
|||||||
|
|
||||||
TARGET="GCDWebServer (Mac)"
|
TARGET="GCDWebServer (Mac)"
|
||||||
CONFIGURATION="Release"
|
CONFIGURATION="Release"
|
||||||
PAYLOAD_ZIP="Tests/Payload.zip"
|
|
||||||
PAYLOAD_DIR="/tmp/payload"
|
|
||||||
|
|
||||||
MRC_BUILD_DIR="/tmp/GCDWebServer-MRC"
|
MRC_BUILD_DIR="/tmp/GCDWebServer-MRC"
|
||||||
MRC_PRODUCT="$MRC_BUILD_DIR/$CONFIGURATION/GCDWebServer"
|
MRC_PRODUCT="$MRC_BUILD_DIR/$CONFIGURATION/GCDWebServer"
|
||||||
ARC_BUILD_DIR="/tmp/GCDWebServer-ARC"
|
ARC_BUILD_DIR="/tmp/GCDWebServer-ARC"
|
||||||
ARC_PRODUCT="$ARC_BUILD_DIR/$CONFIGURATION/GCDWebServer"
|
ARC_PRODUCT="$ARC_BUILD_DIR/$CONFIGURATION/GCDWebServer"
|
||||||
|
|
||||||
|
PAYLOAD_ZIP="Tests/Payload.zip"
|
||||||
|
PAYLOAD_DIR="/tmp/GCDWebServer"
|
||||||
|
|
||||||
function runTests {
|
function runTests {
|
||||||
rm -rf "$PAYLOAD_DIR"
|
rm -rf "$PAYLOAD_DIR"
|
||||||
ditto -x -k "$PAYLOAD_ZIP" "$PAYLOAD_DIR"
|
ditto -x -k "$PAYLOAD_ZIP" "$PAYLOAD_DIR"
|
||||||
logLevel=2 $1 -root "$PAYLOAD_DIR" -tests "$2"
|
find "$PAYLOAD_DIR" -type d -exec SetFile -d "1/1/2014" -m "1/1/2014" '{}' \; # ZIP archives do not preserve directories dates
|
||||||
|
logLevel=2 $1 -mode "$2" -root "$PAYLOAD_DIR/Payload" -tests "$3"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Build in manual memory management mode
|
# Build in manual memory management mode
|
||||||
@@ -25,8 +27,14 @@ rm -rf "ARC_BUILD_DIR"
|
|||||||
xcodebuild -target "$TARGET" -configuration "$CONFIGURATION" build "SYMROOT=$ARC_BUILD_DIR" "CLANG_ENABLE_OBJC_ARC=YES" > /dev/null
|
xcodebuild -target "$TARGET" -configuration "$CONFIGURATION" build "SYMROOT=$ARC_BUILD_DIR" "CLANG_ENABLE_OBJC_ARC=YES" > /dev/null
|
||||||
|
|
||||||
# Run tests
|
# Run tests
|
||||||
runTests $MRC_PRODUCT "WebServer"
|
runTests $MRC_PRODUCT "webServer" "Tests/WebServer"
|
||||||
runTests $ARC_PRODUCT "WebServer"
|
runTests $ARC_PRODUCT "webServer" "Tests/WebServer"
|
||||||
|
runTests $MRC_PRODUCT "webDAV" "Tests/WebDAV-Transmit"
|
||||||
|
runTests $ARC_PRODUCT "webDAV" "Tests/WebDAV-Transmit"
|
||||||
|
runTests $MRC_PRODUCT "webDAV" "Tests/WebDAV-Cyberduck"
|
||||||
|
runTests $ARC_PRODUCT "webDAV" "Tests/WebDAV-Cyberduck"
|
||||||
|
runTests $MRC_PRODUCT "webDAV" "Tests/WebDAV-Finder"
|
||||||
|
runTests $ARC_PRODUCT "webDAV" "Tests/WebDAV-Finder"
|
||||||
|
|
||||||
# Done
|
# Done
|
||||||
echo "\nAll tests completed successfully!"
|
echo "\nAll tests completed successfully!"
|
||||||
|
|||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
HTTP/1.1 200 OK
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:52:42 GMT
|
||||||
|
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
HEAD / HTTP/1.1
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
Executable
+14
@@ -0,0 +1,14 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Content-Length: 1106
|
||||||
|
Content-Type: application/xml; charset="utf-8"
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:52:42 GMT
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
|
||||||
|
<D:response><D:href>/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/Copy.txt</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2014-04-10T11:10:14+00:00</D:creationdate><D:getlastmodified>Thu, 10 Apr 2014 11:10:14 GMT</D:getlastmodified><D:getcontentlength>271</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/images</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/PDF%20Reports</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
</D:multistatus>
|
||||||
Executable
+10
@@ -0,0 +1,10 @@
|
|||||||
|
PROPFIND / HTTP/1.1
|
||||||
|
Depth: 1
|
||||||
|
Content-Type: text/xml; charset=utf-8
|
||||||
|
Content-Length: 99
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><propfind xmlns="DAV:"><allprop/></propfind>
|
||||||
Executable
+12
@@ -0,0 +1,12 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Content-Length: 700
|
||||||
|
Content-Type: application/xml; charset="utf-8"
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:52:47 GMT
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
|
||||||
|
<D:response><D:href>/PDF%20Reports/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/PDF%20Reports/Apple%20Economic%20Impact%20on%20Cupertino.pdf</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2013-05-01T12:01:13+00:00</D:creationdate><D:getlastmodified>Wed, 01 May 2013 12:01:13 GMT</D:getlastmodified><D:getcontentlength>181952</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
</D:multistatus>
|
||||||
Executable
+10
@@ -0,0 +1,10 @@
|
|||||||
|
PROPFIND /PDF%20Reports/ HTTP/1.1
|
||||||
|
Depth: 1
|
||||||
|
Content-Type: text/xml; charset=utf-8
|
||||||
|
Content-Length: 99
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><propfind xmlns="DAV:"><allprop/></propfind>
|
||||||
Executable
+13
@@ -0,0 +1,13 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Content-Length: 998
|
||||||
|
Content-Type: application/xml; charset="utf-8"
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:52:47 GMT
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
|
||||||
|
<D:response><D:href>/images/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/images/capable_green_ipad_l.png</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2014-04-10T21:46:56+00:00</D:creationdate><D:getlastmodified>Thu, 10 Apr 2014 21:46:56 GMT</D:getlastmodified><D:getcontentlength>116066</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/images/hero_mba_11.jpg</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2014-04-10T21:51:14+00:00</D:creationdate><D:getlastmodified>Thu, 10 Apr 2014 21:51:14 GMT</D:getlastmodified><D:getcontentlength>106799</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
</D:multistatus>
|
||||||
Executable
+10
@@ -0,0 +1,10 @@
|
|||||||
|
PROPFIND /images/ HTTP/1.1
|
||||||
|
Depth: 1
|
||||||
|
Content-Type: text/xml; charset=utf-8
|
||||||
|
Content-Length: 99
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><propfind xmlns="DAV:"><allprop/></propfind>
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
HTTP/1.1 200 OK
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:52:51 GMT
|
||||||
|
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
HEAD / HTTP/1.1
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
Executable
+7
@@ -0,0 +1,7 @@
|
|||||||
|
HTTP/1.1 404 Not Found
|
||||||
|
Content-Length: 204
|
||||||
|
Content-Type: text/html; charset=utf-8
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:52:51 GMT
|
||||||
|
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
HEAD /Copy%20%284%3A11%3A14%2C%209%3A52%20PM%29.txt HTTP/1.1
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
HTTP/1.1 201 Created
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:52:51 GMT
|
||||||
|
|
||||||
Executable
+8
@@ -0,0 +1,8 @@
|
|||||||
|
COPY /Copy.txt HTTP/1.1
|
||||||
|
Destination: http://localhost:8080/Copy%20%284%3A11%3A14%2C%209%3A52%20PM%29.txt
|
||||||
|
Overwrite: T
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
Executable
+15
@@ -0,0 +1,15 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Content-Length: 1448
|
||||||
|
Content-Type: application/xml; charset="utf-8"
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:52:51 GMT
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
|
||||||
|
<D:response><D:href>/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/Copy%20(4:11:14,%209:52%20PM).txt</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2014-04-10T11:10:14+00:00</D:creationdate><D:getlastmodified>Thu, 10 Apr 2014 11:10:14 GMT</D:getlastmodified><D:getcontentlength>271</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/Copy.txt</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2014-04-10T11:10:14+00:00</D:creationdate><D:getlastmodified>Thu, 10 Apr 2014 11:10:14 GMT</D:getlastmodified><D:getcontentlength>271</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/images</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/PDF%20Reports</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
</D:multistatus>
|
||||||
Executable
+10
@@ -0,0 +1,10 @@
|
|||||||
|
PROPFIND / HTTP/1.1
|
||||||
|
Depth: 1
|
||||||
|
Content-Type: text/xml; charset=utf-8
|
||||||
|
Content-Length: 99
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><propfind xmlns="DAV:"><allprop/></propfind>
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
HTTP/1.1 200 OK
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:52:59 GMT
|
||||||
|
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
HEAD / HTTP/1.1
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
Executable
BIN
Binary file not shown.
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
GET /images/capable_green_ipad_l.png HTTP/1.1
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
Executable
+13
@@ -0,0 +1,13 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Content-Length: 998
|
||||||
|
Content-Type: application/xml; charset="utf-8"
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:07 GMT
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
|
||||||
|
<D:response><D:href>/images/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/images/capable_green_ipad_l.png</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2014-04-10T21:46:56+00:00</D:creationdate><D:getlastmodified>Thu, 10 Apr 2014 21:46:56 GMT</D:getlastmodified><D:getcontentlength>116066</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/images/hero_mba_11.jpg</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2014-04-10T21:51:14+00:00</D:creationdate><D:getlastmodified>Thu, 10 Apr 2014 21:51:14 GMT</D:getlastmodified><D:getcontentlength>106799</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
</D:multistatus>
|
||||||
Executable
+10
@@ -0,0 +1,10 @@
|
|||||||
|
PROPFIND /images/ HTTP/1.1
|
||||||
|
Depth: 1
|
||||||
|
Content-Type: text/xml; charset=utf-8
|
||||||
|
Content-Length: 99
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><propfind xmlns="DAV:"><allprop/></propfind>
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
HTTP/1.1 204 No Content
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:07 GMT
|
||||||
|
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
DELETE /images/capable_green_ipad_l.png HTTP/1.1
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
HTTP/1.1 204 No Content
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:07 GMT
|
||||||
|
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
DELETE /images/hero_mba_11.jpg HTTP/1.1
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
HTTP/1.1 204 No Content
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:07 GMT
|
||||||
|
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
DELETE /images/ HTTP/1.1
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
Executable
+14
@@ -0,0 +1,14 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Content-Length: 1214
|
||||||
|
Content-Type: application/xml; charset="utf-8"
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:07 GMT
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
|
||||||
|
<D:response><D:href>/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/Copy%20(4:11:14,%209:52%20PM).txt</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2014-04-10T11:10:14+00:00</D:creationdate><D:getlastmodified>Thu, 10 Apr 2014 11:10:14 GMT</D:getlastmodified><D:getcontentlength>271</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/Copy.txt</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2014-04-10T11:10:14+00:00</D:creationdate><D:getlastmodified>Thu, 10 Apr 2014 11:10:14 GMT</D:getlastmodified><D:getcontentlength>271</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/PDF%20Reports</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
</D:multistatus>
|
||||||
Executable
+10
@@ -0,0 +1,10 @@
|
|||||||
|
PROPFIND / HTTP/1.1
|
||||||
|
Depth: 1
|
||||||
|
Content-Type: text/xml; charset=utf-8
|
||||||
|
Content-Length: 99
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><propfind xmlns="DAV:"><allprop/></propfind>
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
HTTP/1.1 201 Created
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:13 GMT
|
||||||
|
|
||||||
Executable
+8
@@ -0,0 +1,8 @@
|
|||||||
|
MOVE /Copy%20%284%3A11%3A14%2C%209%3A52%20PM%29.txt HTTP/1.1
|
||||||
|
Destination: http://localhost:8080/Test.txt
|
||||||
|
Overwrite: T
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
Executable
+14
@@ -0,0 +1,14 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Content-Length: 1189
|
||||||
|
Content-Type: application/xml; charset="utf-8"
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:13 GMT
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
|
||||||
|
<D:response><D:href>/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/Copy.txt</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2014-04-10T11:10:14+00:00</D:creationdate><D:getlastmodified>Thu, 10 Apr 2014 11:10:14 GMT</D:getlastmodified><D:getcontentlength>271</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/PDF%20Reports</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/Test.txt</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2014-04-10T11:10:14+00:00</D:creationdate><D:getlastmodified>Thu, 10 Apr 2014 11:10:14 GMT</D:getlastmodified><D:getcontentlength>271</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
</D:multistatus>
|
||||||
Executable
+10
@@ -0,0 +1,10 @@
|
|||||||
|
PROPFIND / HTTP/1.1
|
||||||
|
Depth: 1
|
||||||
|
Content-Type: text/xml; charset=utf-8
|
||||||
|
Content-Length: 99
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><propfind xmlns="DAV:"><allprop/></propfind>
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
HTTP/1.1 201 Created
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:14 GMT
|
||||||
|
|
||||||
Executable
+8
@@ -0,0 +1,8 @@
|
|||||||
|
MOVE /Test.txt HTTP/1.1
|
||||||
|
Destination: http://localhost:8080/PDF%20Reports/Test.txt
|
||||||
|
Overwrite: T
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
Executable
+13
@@ -0,0 +1,13 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Content-Length: 872
|
||||||
|
Content-Type: application/xml; charset="utf-8"
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:14 GMT
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
|
||||||
|
<D:response><D:href>/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/Copy.txt</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2014-04-10T11:10:14+00:00</D:creationdate><D:getlastmodified>Thu, 10 Apr 2014 11:10:14 GMT</D:getlastmodified><D:getcontentlength>271</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/PDF%20Reports</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
</D:multistatus>
|
||||||
Executable
+10
@@ -0,0 +1,10 @@
|
|||||||
|
PROPFIND / HTTP/1.1
|
||||||
|
Depth: 1
|
||||||
|
Content-Type: text/xml; charset=utf-8
|
||||||
|
Content-Length: 99
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><propfind xmlns="DAV:"><allprop/></propfind>
|
||||||
Executable
+13
@@ -0,0 +1,13 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Content-Length: 1031
|
||||||
|
Content-Type: application/xml; charset="utf-8"
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:14 GMT
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
|
||||||
|
<D:response><D:href>/PDF%20Reports/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/PDF%20Reports/Apple%20Economic%20Impact%20on%20Cupertino.pdf</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2013-05-01T12:01:13+00:00</D:creationdate><D:getlastmodified>Wed, 01 May 2013 12:01:13 GMT</D:getlastmodified><D:getcontentlength>181952</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/PDF%20Reports/Test.txt</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2014-04-10T11:10:14+00:00</D:creationdate><D:getlastmodified>Thu, 10 Apr 2014 11:10:14 GMT</D:getlastmodified><D:getcontentlength>271</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
</D:multistatus>
|
||||||
Executable
+10
@@ -0,0 +1,10 @@
|
|||||||
|
PROPFIND /PDF%20Reports/ HTTP/1.1
|
||||||
|
Depth: 1
|
||||||
|
Content-Type: text/xml; charset=utf-8
|
||||||
|
Content-Length: 99
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><propfind xmlns="DAV:"><allprop/></propfind>
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
HTTP/1.1 200 OK
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:22 GMT
|
||||||
|
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
HEAD / HTTP/1.1
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
Executable
+7
@@ -0,0 +1,7 @@
|
|||||||
|
HTTP/1.1 404 Not Found
|
||||||
|
Content-Length: 190
|
||||||
|
Content-Type: text/html; charset=utf-8
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:22 GMT
|
||||||
|
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
HEAD /Test%20File.txt HTTP/1.1
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
HTTP/1.1 201 Created
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:22 GMT
|
||||||
|
|
||||||
Executable
+11
@@ -0,0 +1,11 @@
|
|||||||
|
PUT /Test%20File.txt HTTP/1.1
|
||||||
|
Content-Length: 21
|
||||||
|
Content-Type: text/plain
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
X-GCDWebServer-CreationDate: 2014-04-12T04:53:22+00:00
|
||||||
|
X-GCDWebServer-ModifiedDate: Sat, 12 Apr 2014 04:53:22 GMT
|
||||||
|
|
||||||
|
Nothing to see here!
|
||||||
Executable
+14
@@ -0,0 +1,14 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Content-Length: 1195
|
||||||
|
Content-Type: application/xml; charset="utf-8"
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:22 GMT
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
|
||||||
|
<D:response><D:href>/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/Copy.txt</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2014-04-10T11:10:14+00:00</D:creationdate><D:getlastmodified>Thu, 10 Apr 2014 11:10:14 GMT</D:getlastmodified><D:getcontentlength>271</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/PDF%20Reports</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/Test%20File.txt</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2014-04-12T04:53:22+00:00</D:creationdate><D:getlastmodified>Sat, 12 Apr 2014 04:53:22 GMT</D:getlastmodified><D:getcontentlength>21</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
</D:multistatus>
|
||||||
Executable
+10
@@ -0,0 +1,10 @@
|
|||||||
|
PROPFIND / HTTP/1.1
|
||||||
|
Depth: 1
|
||||||
|
Content-Type: text/xml; charset=utf-8
|
||||||
|
Content-Length: 99
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><propfind xmlns="DAV:"><allprop/></propfind>
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
HTTP/1.1 201 Created
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:35 GMT
|
||||||
|
|
||||||
Executable
+8
@@ -0,0 +1,8 @@
|
|||||||
|
MKCOL /Text%20Files/ HTTP/1.1
|
||||||
|
Content-Length: 0
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
X-GCDWebServer-CreationDate: 2014-04-12T04:53:35+00:00
|
||||||
|
|
||||||
Executable
+15
@@ -0,0 +1,15 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Content-Length: 1435
|
||||||
|
Content-Type: application/xml; charset="utf-8"
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:35 GMT
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
|
||||||
|
<D:response><D:href>/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/Copy.txt</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2014-04-10T11:10:14+00:00</D:creationdate><D:getlastmodified>Thu, 10 Apr 2014 11:10:14 GMT</D:getlastmodified><D:getcontentlength>271</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/PDF%20Reports</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/Test%20File.txt</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2014-04-12T04:53:22+00:00</D:creationdate><D:getlastmodified>Sat, 12 Apr 2014 04:53:22 GMT</D:getlastmodified><D:getcontentlength>21</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/Text%20Files</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-04-12T04:53:35+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
</D:multistatus>
|
||||||
Executable
+10
@@ -0,0 +1,10 @@
|
|||||||
|
PROPFIND / HTTP/1.1
|
||||||
|
Depth: 1
|
||||||
|
Content-Type: text/xml; charset=utf-8
|
||||||
|
Content-Length: 99
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><propfind xmlns="DAV:"><allprop/></propfind>
|
||||||
Executable
+11
@@ -0,0 +1,11 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Content-Length: 327
|
||||||
|
Content-Type: application/xml; charset="utf-8"
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:36 GMT
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
|
||||||
|
<D:response><D:href>/Text%20Files/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-04-12T04:53:35+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
</D:multistatus>
|
||||||
Executable
+10
@@ -0,0 +1,10 @@
|
|||||||
|
PROPFIND /Text%20Files/ HTTP/1.1
|
||||||
|
Depth: 1
|
||||||
|
Content-Type: text/xml; charset=utf-8
|
||||||
|
Content-Length: 99
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><propfind xmlns="DAV:"><allprop/></propfind>
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
HTTP/1.1 201 Created
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:39 GMT
|
||||||
|
|
||||||
Executable
+8
@@ -0,0 +1,8 @@
|
|||||||
|
MOVE /Test%20File.txt HTTP/1.1
|
||||||
|
Destination: http://localhost:8080/Text%20Files/Test%20File.txt
|
||||||
|
Overwrite: T
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
HTTP/1.1 201 Created
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:39 GMT
|
||||||
|
|
||||||
Executable
+8
@@ -0,0 +1,8 @@
|
|||||||
|
MOVE /Copy.txt HTTP/1.1
|
||||||
|
Destination: http://localhost:8080/Text%20Files/Copy.txt
|
||||||
|
Overwrite: T
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
Executable
+13
@@ -0,0 +1,13 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Content-Length: 795
|
||||||
|
Content-Type: application/xml; charset="utf-8"
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:39 GMT
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
|
||||||
|
<D:response><D:href>/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/PDF%20Reports</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/Text%20Files</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-04-12T04:53:35+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
</D:multistatus>
|
||||||
Executable
+10
@@ -0,0 +1,10 @@
|
|||||||
|
PROPFIND / HTTP/1.1
|
||||||
|
Depth: 1
|
||||||
|
Content-Type: text/xml; charset=utf-8
|
||||||
|
Content-Length: 99
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><propfind xmlns="DAV:"><allprop/></propfind>
|
||||||
Executable
+13
@@ -0,0 +1,13 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Content-Length: 993
|
||||||
|
Content-Type: application/xml; charset="utf-8"
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:39 GMT
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
|
||||||
|
<D:response><D:href>/Text%20Files/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-04-12T04:53:35+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/Text%20Files/Copy.txt</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2014-04-10T11:10:14+00:00</D:creationdate><D:getlastmodified>Thu, 10 Apr 2014 11:10:14 GMT</D:getlastmodified><D:getcontentlength>271</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/Text%20Files/Test%20File.txt</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2014-04-12T04:53:22+00:00</D:creationdate><D:getlastmodified>Sat, 12 Apr 2014 04:53:22 GMT</D:getlastmodified><D:getcontentlength>21</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
</D:multistatus>
|
||||||
Executable
+10
@@ -0,0 +1,10 @@
|
|||||||
|
PROPFIND /Text%20Files/ HTTP/1.1
|
||||||
|
Depth: 1
|
||||||
|
Content-Type: text/xml; charset=utf-8
|
||||||
|
Content-Length: 99
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><propfind xmlns="DAV:"><allprop/></propfind>
|
||||||
Executable
+13
@@ -0,0 +1,13 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Content-Length: 1031
|
||||||
|
Content-Type: application/xml; charset="utf-8"
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:44 GMT
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
|
||||||
|
<D:response><D:href>/PDF%20Reports/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/PDF%20Reports/Apple%20Economic%20Impact%20on%20Cupertino.pdf</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2013-05-01T12:01:13+00:00</D:creationdate><D:getlastmodified>Wed, 01 May 2013 12:01:13 GMT</D:getlastmodified><D:getcontentlength>181952</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/PDF%20Reports/Test.txt</D:href><D:propstat><D:prop><D:resourcetype/><D:creationdate>2014-04-10T11:10:14+00:00</D:creationdate><D:getlastmodified>Thu, 10 Apr 2014 11:10:14 GMT</D:getlastmodified><D:getcontentlength>271</D:getcontentlength></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
</D:multistatus>
|
||||||
Executable
+10
@@ -0,0 +1,10 @@
|
|||||||
|
PROPFIND /PDF%20Reports/ HTTP/1.1
|
||||||
|
Depth: 1
|
||||||
|
Content-Type: text/xml; charset=utf-8
|
||||||
|
Content-Length: 99
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><propfind xmlns="DAV:"><allprop/></propfind>
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
HTTP/1.1 204 No Content
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:44 GMT
|
||||||
|
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
DELETE /PDF%20Reports/Apple%20Economic%20Impact%20on%20Cupertino.pdf HTTP/1.1
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
HTTP/1.1 204 No Content
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:44 GMT
|
||||||
|
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
DELETE /PDF%20Reports/Test.txt HTTP/1.1
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
HTTP/1.1 204 No Content
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:44 GMT
|
||||||
|
|
||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
DELETE /PDF%20Reports/ HTTP/1.1
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
Executable
+12
@@ -0,0 +1,12 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Content-Length: 554
|
||||||
|
Content-Type: application/xml; charset="utf-8"
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 04:53:44 GMT
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
|
||||||
|
<D:response><D:href>/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
<D:response><D:href>/Text%20Files</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-04-12T04:53:35+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
</D:multistatus>
|
||||||
Executable
+10
@@ -0,0 +1,10 @@
|
|||||||
|
PROPFIND / HTTP/1.1
|
||||||
|
Depth: 1
|
||||||
|
Content-Type: text/xml; charset=utf-8
|
||||||
|
Content-Length: 99
|
||||||
|
Host: localhost:8080
|
||||||
|
Connection: Keep-Alive
|
||||||
|
User-Agent: Cyberduck/4.4.3 (Mac OS X/10.9.2) (x86_64)
|
||||||
|
Accept-Encoding: gzip,deflate
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><propfind xmlns="DAV:"><allprop/></propfind>
|
||||||
Executable
+7
@@ -0,0 +1,7 @@
|
|||||||
|
HTTP/1.1 200 OK
|
||||||
|
Cache-Control: no-cache
|
||||||
|
DAV: 1, 2
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 05:10:55 GMT
|
||||||
|
|
||||||
Executable
+7
@@ -0,0 +1,7 @@
|
|||||||
|
OPTIONS / HTTP/1.1
|
||||||
|
Host: localhost:8080
|
||||||
|
Accept: */*
|
||||||
|
Content-Length: 0
|
||||||
|
Connection: close
|
||||||
|
User-Agent: WebDAVLib/1.3
|
||||||
|
|
||||||
Executable
+7
@@ -0,0 +1,7 @@
|
|||||||
|
HTTP/1.1 200 OK
|
||||||
|
Cache-Control: no-cache
|
||||||
|
DAV: 1, 2
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 05:10:55 GMT
|
||||||
|
|
||||||
Executable
+7
@@ -0,0 +1,7 @@
|
|||||||
|
OPTIONS / HTTP/1.1
|
||||||
|
Host: localhost:8080
|
||||||
|
Accept: */*
|
||||||
|
Content-Length: 0
|
||||||
|
Connection: close
|
||||||
|
User-Agent: WebDAVLib/1.3
|
||||||
|
|
||||||
Executable
+7
@@ -0,0 +1,7 @@
|
|||||||
|
HTTP/1.1 200 OK
|
||||||
|
Cache-Control: no-cache
|
||||||
|
DAV: 1, 2
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 05:10:55 GMT
|
||||||
|
|
||||||
Executable
+7
@@ -0,0 +1,7 @@
|
|||||||
|
OPTIONS / HTTP/1.1
|
||||||
|
Host: localhost:8080
|
||||||
|
Accept: */*
|
||||||
|
Content-Length: 0
|
||||||
|
Connection: keep-alive
|
||||||
|
User-Agent: WebDAVFS/3.0.1 (03018000) Darwin/13.1.0 (x86_64)
|
||||||
|
|
||||||
Executable
+11
@@ -0,0 +1,11 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Content-Length: 314
|
||||||
|
Content-Type: application/xml; charset="utf-8"
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 05:10:55 GMT
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
|
||||||
|
<D:response><D:href>/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
</D:multistatus>
|
||||||
Executable
+18
@@ -0,0 +1,18 @@
|
|||||||
|
PROPFIND / HTTP/1.1
|
||||||
|
Host: localhost:8080
|
||||||
|
Content-Type: text/xml
|
||||||
|
Depth: 0
|
||||||
|
Accept: */*
|
||||||
|
User-Agent: WebDAVFS/3.0.1 (03018000) Darwin/13.1.0 (x86_64)
|
||||||
|
Content-Length: 179
|
||||||
|
Connection: keep-alive
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<D:propfind xmlns:D="DAV:">
|
||||||
|
<D:prop>
|
||||||
|
<D:getlastmodified/>
|
||||||
|
<D:getcontentlength/>
|
||||||
|
<D:creationdate/>
|
||||||
|
<D:resourcetype/>
|
||||||
|
</D:prop>
|
||||||
|
</D:propfind>
|
||||||
Executable
+11
@@ -0,0 +1,11 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Content-Length: 208
|
||||||
|
Content-Type: application/xml; charset="utf-8"
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 05:10:55 GMT
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
|
||||||
|
<D:response><D:href>/</D:href><D:propstat><D:prop></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
</D:multistatus>
|
||||||
Executable
+18
@@ -0,0 +1,18 @@
|
|||||||
|
PROPFIND / HTTP/1.1
|
||||||
|
Host: localhost:8080
|
||||||
|
Content-Type: text/xml
|
||||||
|
Depth: 0
|
||||||
|
Accept: */*
|
||||||
|
User-Agent: WebDAVFS/3.0.1 (03018000) Darwin/13.1.0 (x86_64)
|
||||||
|
Content-Length: 175
|
||||||
|
Connection: keep-alive
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<D:propfind xmlns:D="DAV:">
|
||||||
|
<D:prop>
|
||||||
|
<D:quota-available-bytes/>
|
||||||
|
<D:quota-used-bytes/>
|
||||||
|
<D:quota/>
|
||||||
|
<D:quotaused/>
|
||||||
|
</D:prop>
|
||||||
|
</D:propfind>
|
||||||
Executable
+11
@@ -0,0 +1,11 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Content-Length: 314
|
||||||
|
Content-Type: application/xml; charset="utf-8"
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 05:10:55 GMT
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
|
||||||
|
<D:response><D:href>/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
</D:multistatus>
|
||||||
Executable
+18
@@ -0,0 +1,18 @@
|
|||||||
|
PROPFIND / HTTP/1.1
|
||||||
|
Host: localhost:8080
|
||||||
|
Content-Type: text/xml
|
||||||
|
Depth: 0
|
||||||
|
Accept: */*
|
||||||
|
User-Agent: WebDAVFS/3.0.1 (03018000) Darwin/13.1.0 (x86_64)
|
||||||
|
Content-Length: 179
|
||||||
|
Connection: keep-alive
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<D:propfind xmlns:D="DAV:">
|
||||||
|
<D:prop>
|
||||||
|
<D:getlastmodified/>
|
||||||
|
<D:getcontentlength/>
|
||||||
|
<D:creationdate/>
|
||||||
|
<D:resourcetype/>
|
||||||
|
</D:prop>
|
||||||
|
</D:propfind>
|
||||||
Executable
+11
@@ -0,0 +1,11 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Content-Length: 314
|
||||||
|
Content-Type: application/xml; charset="utf-8"
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 05:10:55 GMT
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
|
||||||
|
<D:response><D:href>/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
</D:multistatus>
|
||||||
Executable
+18
@@ -0,0 +1,18 @@
|
|||||||
|
PROPFIND / HTTP/1.1
|
||||||
|
Host: localhost:8080
|
||||||
|
Content-Type: text/xml
|
||||||
|
Depth: 0
|
||||||
|
Accept: */*
|
||||||
|
User-Agent: WebDAVFS/3.0.1 (03018000) Darwin/13.1.0 (x86_64)
|
||||||
|
Content-Length: 179
|
||||||
|
Connection: keep-alive
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<D:propfind xmlns:D="DAV:">
|
||||||
|
<D:prop>
|
||||||
|
<D:getlastmodified/>
|
||||||
|
<D:getcontentlength/>
|
||||||
|
<D:creationdate/>
|
||||||
|
<D:resourcetype/>
|
||||||
|
</D:prop>
|
||||||
|
</D:propfind>
|
||||||
Executable
+11
@@ -0,0 +1,11 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Content-Length: 314
|
||||||
|
Content-Type: application/xml; charset="utf-8"
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 05:10:55 GMT
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
|
||||||
|
<D:response><D:href>/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
</D:multistatus>
|
||||||
Executable
+18
@@ -0,0 +1,18 @@
|
|||||||
|
PROPFIND / HTTP/1.1
|
||||||
|
Host: localhost:8080
|
||||||
|
Content-Type: text/xml
|
||||||
|
Depth: 0
|
||||||
|
Accept: */*
|
||||||
|
User-Agent: WebDAVFS/3.0.1 (03018000) Darwin/13.1.0 (x86_64)
|
||||||
|
Content-Length: 179
|
||||||
|
Connection: keep-alive
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<D:propfind xmlns:D="DAV:">
|
||||||
|
<D:prop>
|
||||||
|
<D:getlastmodified/>
|
||||||
|
<D:getcontentlength/>
|
||||||
|
<D:creationdate/>
|
||||||
|
<D:resourcetype/>
|
||||||
|
</D:prop>
|
||||||
|
</D:propfind>
|
||||||
Executable
+11
@@ -0,0 +1,11 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Content-Length: 314
|
||||||
|
Content-Type: application/xml; charset="utf-8"
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 05:10:55 GMT
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
|
||||||
|
<D:response><D:href>/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
</D:multistatus>
|
||||||
Executable
+18
@@ -0,0 +1,18 @@
|
|||||||
|
PROPFIND / HTTP/1.1
|
||||||
|
Host: localhost:8080
|
||||||
|
Content-Type: text/xml
|
||||||
|
Depth: 0
|
||||||
|
Accept: */*
|
||||||
|
User-Agent: WebDAVFS/3.0.1 (03018000) Darwin/13.1.0 (x86_64)
|
||||||
|
Content-Length: 179
|
||||||
|
Connection: keep-alive
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<D:propfind xmlns:D="DAV:">
|
||||||
|
<D:prop>
|
||||||
|
<D:getlastmodified/>
|
||||||
|
<D:getcontentlength/>
|
||||||
|
<D:creationdate/>
|
||||||
|
<D:resourcetype/>
|
||||||
|
</D:prop>
|
||||||
|
</D:propfind>
|
||||||
Executable
+11
@@ -0,0 +1,11 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Content-Length: 314
|
||||||
|
Content-Type: application/xml; charset="utf-8"
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 05:10:55 GMT
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
|
||||||
|
<D:response><D:href>/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
</D:multistatus>
|
||||||
Executable
+18
@@ -0,0 +1,18 @@
|
|||||||
|
PROPFIND / HTTP/1.1
|
||||||
|
Host: localhost:8080
|
||||||
|
Content-Type: text/xml
|
||||||
|
Depth: 0
|
||||||
|
Accept: */*
|
||||||
|
User-Agent: WebDAVFS/3.0.1 (03018000) Darwin/13.1.0 (x86_64)
|
||||||
|
Content-Length: 179
|
||||||
|
Connection: keep-alive
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<D:propfind xmlns:D="DAV:">
|
||||||
|
<D:prop>
|
||||||
|
<D:getlastmodified/>
|
||||||
|
<D:getcontentlength/>
|
||||||
|
<D:creationdate/>
|
||||||
|
<D:resourcetype/>
|
||||||
|
</D:prop>
|
||||||
|
</D:propfind>
|
||||||
Executable
+11
@@ -0,0 +1,11 @@
|
|||||||
|
HTTP/1.1 207 Multi-Status
|
||||||
|
Cache-Control: no-cache
|
||||||
|
Content-Length: 314
|
||||||
|
Content-Type: application/xml; charset="utf-8"
|
||||||
|
Connection: Close
|
||||||
|
Server: GCDWebDAVServer
|
||||||
|
Date: Sat, 12 Apr 2014 05:10:55 GMT
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:">
|
||||||
|
<D:response><D:href>/</D:href><D:propstat><D:prop><D:resourcetype><D:collection/></D:resourcetype><D:creationdate>2014-01-01T09:01:00+00:00</D:creationdate></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
|
||||||
|
</D:multistatus>
|
||||||
Executable
+18
@@ -0,0 +1,18 @@
|
|||||||
|
PROPFIND / HTTP/1.1
|
||||||
|
Host: localhost:8080
|
||||||
|
Content-Type: text/xml
|
||||||
|
Depth: 0
|
||||||
|
Accept: */*
|
||||||
|
User-Agent: WebDAVFS/3.0.1 (03018000) Darwin/13.1.0 (x86_64)
|
||||||
|
Content-Length: 179
|
||||||
|
Connection: keep-alive
|
||||||
|
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<D:propfind xmlns:D="DAV:">
|
||||||
|
<D:prop>
|
||||||
|
<D:getlastmodified/>
|
||||||
|
<D:getcontentlength/>
|
||||||
|
<D:creationdate/>
|
||||||
|
<D:resourcetype/>
|
||||||
|
</D:prop>
|
||||||
|
</D:propfind>
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user