mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-27 10:29:23 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			411 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			411 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2022, Linus Groh <linusg@serenityos.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <AK/Forward.h>
 | |
| 
 | |
| namespace Web::Fetch::Infrastructure {
 | |
| 
 | |
| [[nodiscard]] bool is_method(ReadonlyBytes);
 | |
| [[nodiscard]] bool is_cors_safelisted_method(ReadonlyBytes);
 | |
| [[nodiscard]] bool is_forbidden_method(ReadonlyBytes);
 | |
| [[nodiscard]] ByteBuffer normalize_method(ReadonlyBytes);
 | |
| 
 | |
| }
 |