mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	NEW: add Client-Name to http header
Change-Id: Ib2d4a2fd6262e833a8237d065d705ce6bad4e735 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
		
							parent
							
								
									474e363651
								
							
						
					
					
						commit
						b734079697
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -2127,6 +2127,7 @@ std::map<std::string, std::string> GUI_App::get_extra_header() | |||
| { | ||||
|     std::map<std::string, std::string> extra_headers; | ||||
|     extra_headers.insert(std::make_pair("X-BBL-Client-Type", "slicer")); | ||||
|     extra_headers.insert(std::make_pair("X-BBL-Client-Name", SLIC3R_APP_NAME)); | ||||
|     extra_headers.insert(std::make_pair("X-BBL-Client-Version", VersionInfo::convert_full_version(SLIC3R_VERSION))); | ||||
| #if defined(__WINDOWS__) | ||||
|     extra_headers.insert(std::make_pair("X-BBL-OS-Type", "windows")); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Stone Li
						Stone Li