mirror of
				https://github.com/Yidadaa/ChatGPT-Next-Web.git
				synced 2025-10-31 05:39:20 +08:00 
			
		
		
		
	update
This commit is contained in:
		| @@ -64,7 +64,7 @@ pub async fn stream_fetch( | |||||||
|     url.parse::<reqwest::Url>().map_err(|err| format!("failed to parse url: {}", err))? |     url.parse::<reqwest::Url>().map_err(|err| format!("failed to parse url: {}", err))? | ||||||
|   ); |   ); | ||||||
|  |  | ||||||
|   if method == reqwest::Method::POST { |   if method == reqwest::Method::POST || method == reqwest::Method::PUT || method == reqwest::Method::PATCH { | ||||||
|     let body = bytes::Bytes::from(body); |     let body = bytes::Bytes::from(body); | ||||||
|     // println!("body: {:?}", body); |     // println!("body: {:?}", body); | ||||||
|     request = request.body(body); |     request = request.body(body); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user