|  |  | @ -93,6 +93,7 @@ const ( | 
			
		
	
		
			
				
					|  |  |  | 	ErrInvalidRequest | 
			
		
	
		
			
				
					|  |  |  | 	ErrAuthNotSetup | 
			
		
	
		
			
				
					|  |  |  | 	ErrNotImplemented | 
			
		
	
		
			
				
					|  |  |  | 	ErrPreconditionFailed | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | 	ErrExistingObjectIsDirectory | 
			
		
	
		
			
				
					|  |  |  | ) | 
			
		
	
	
		
			
				
					|  |  | @ -342,7 +343,7 @@ var errorCodeResponse = map[ErrorCode]APIError{ | 
			
		
	
		
			
				
					|  |  |  | 		Description:    "Invalid Request", | 
			
		
	
		
			
				
					|  |  |  | 		HTTPStatusCode: http.StatusBadRequest, | 
			
		
	
		
			
				
					|  |  |  | 	}, | 
			
		
	
		
			
				
					|  |  |  | 	ErrAuthNotSetup : { | 
			
		
	
		
			
				
					|  |  |  | 	ErrAuthNotSetup: { | 
			
		
	
		
			
				
					|  |  |  | 		Code:           "InvalidRequest", | 
			
		
	
		
			
				
					|  |  |  | 		Description:    "Signed request requires setting up SeaweedFS S3 authentication", | 
			
		
	
		
			
				
					|  |  |  | 		HTTPStatusCode: http.StatusBadRequest, | 
			
		
	
	
		
			
				
					|  |  | @ -352,6 +353,11 @@ var errorCodeResponse = map[ErrorCode]APIError{ | 
			
		
	
		
			
				
					|  |  |  | 		Description:    "A header you provided implies functionality that is not implemented", | 
			
		
	
		
			
				
					|  |  |  | 		HTTPStatusCode: http.StatusNotImplemented, | 
			
		
	
		
			
				
					|  |  |  | 	}, | 
			
		
	
		
			
				
					|  |  |  | 	ErrPreconditionFailed: { | 
			
		
	
		
			
				
					|  |  |  | 		Code:           "PreconditionFailed", | 
			
		
	
		
			
				
					|  |  |  | 		Description:    "At least one of the pre-conditions you specified did not hold", | 
			
		
	
		
			
				
					|  |  |  | 		HTTPStatusCode: http.StatusPreconditionFailed, | 
			
		
	
		
			
				
					|  |  |  | 	}, | 
			
		
	
		
			
				
					|  |  |  | 	ErrExistingObjectIsDirectory: { | 
			
		
	
		
			
				
					|  |  |  | 		Code:           "ExistingObjectIsDirectory", | 
			
		
	
		
			
				
					|  |  |  | 		Description:    "Existing Object is a directory.", | 
			
		
	
	
		
			
				
					|  |  | 
 |