mirror of
				https://gitea.invidious.io/iv-org/shard-kemal.git
				synced 2024-08-15 00:53:36 +00:00 
			
		
		
		
	Cache Context#params result
This commit is contained in:
		
							parent
							
								
									70ef8a7718
								
							
						
					
					
						commit
						0f86e59db6
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		|  | @ -2,10 +2,8 @@ | |||
| # information such as params, content_type e.g | ||||
| class HTTP::Server | ||||
|   class Context | ||||
|     getter params | ||||
| 
 | ||||
|     def params | ||||
|       Kemal::ParamParser.new(@route, @request).parse | ||||
|       @params ||= Kemal::ParamParser.new(@route, @request).parse | ||||
|     end | ||||
| 
 | ||||
|     def redirect(url, status_code = 302) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue