// AddRequestTransformer appends the RequestTransformer t at the end of the list of RequestTransformer instance found in the Context c. nil values are discarded and return an error.
Msg("Received an error when trying to stat a full path")
returnUnknown
}
iffi.IsDir(){
returnMap
}else{
returnFile
}
}
// NewRequest creates a new Request instance and returns a pointer to it. It relies on the selector s to determine the RequestType, and on the Context c to build the paths and verify the files.
// ContentText contains the strings for a UTF-8 encoded text response.
ContentText[]string
// ErrorCode contains the code for the error encountered
ErrorCodeGopherErrorCode
}
// NewResponse creates a new Response instance and returns a pointer to it. It relies on the Request rq and the Context c to build the path to the resource and determine its type, based on MIME guessing. Note that a Request of type Map always yields a Response of type PlainText.
rs.ContentText=[]string{fmt.Sprint("Error retrieving the error page for the request. The original error code was ",rs.ErrorCode," for the selector ",rq.Path)}
The selector {{ .Selector }} could not be understood by the server. Please check the request or contact the administrator if the selector is legitimate and the problem persists.
You have the wrong permissions to access the resources behind the selector {{ .Selector }}. If you believe you should have access to these resources, please contact the administrator.
There was an error retrieving the resources behind the selector {{ .Selector }}. Please try again later or contact the administrator of the problem persists.