Merge pull request #8456 from lindenlab/cleanup-repository-info
Cleanup: Replace ResolveRepositoryName with RepositoryInfo{}
Upstream-commit: 6870bde5847d4484d87f91baf58edc52f575ea5d
Component: engine
This commit is contained in:
@ -134,6 +134,10 @@ func (self *HTTPRequestFactory) AddDecorator(d ...HTTPRequestDecorator) {
|
||||
self.decorators = append(self.decorators, d...)
|
||||
}
|
||||
|
||||
func (self *HTTPRequestFactory) GetDecorators() []HTTPRequestDecorator {
|
||||
return self.decorators
|
||||
}
|
||||
|
||||
// NewRequest() creates a new *http.Request,
|
||||
// applies all decorators in the HTTPRequestFactory on the request,
|
||||
// then applies decorators provided by d on the request.
|
||||
|
||||
Reference in New Issue
Block a user