mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-31 02:17:41 +00:00 
			
		
		
		
	Fix add headers using interceptors
This commit is contained in:
		
							parent
							
								
									27ff4dfd23
								
							
						
					
					
						commit
						8fa6cc648b
					
				| @ -60,12 +60,12 @@ public class HttpInterceptor implements Interceptor { | ||||
|     } | ||||
| 
 | ||||
|     public HttpInterceptor addRequestInterceptor(RequestInterceptor requestInterceptor) { | ||||
|         mRequestInterceptors.add(requestInterceptor); | ||||
|         mRequestInterceptors.listIterator().add(requestInterceptor); | ||||
|         return this; | ||||
|     } | ||||
| 
 | ||||
|     public HttpInterceptor addResponseInterceptor(ResponseInterceptor responseInterceptor) { | ||||
|         mResponseInterceptors.add(responseInterceptor); | ||||
|         mResponseInterceptors.listIterator().add(responseInterceptor); | ||||
|         return this; | ||||
|     } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user