Skip to content

Commit

Permalink
一点点小调整
Browse files Browse the repository at this point in the history
  • Loading branch information
owent committed Apr 17, 2019
1 parent 25cf5b1 commit 88e705e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wxwork_robot/command_runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ fn run_http(runtime: Arc<WXWorkCommandRuntime>) -> HttpResponseFuture {
http_request.timeout(Duration::from_millis(app::app_conf().task_timeout));
http_request.header(
http::header::USER_AGENT,
format!("WXWork-Robotd {}", crate_version!()),
format!("Mozilla/5.0 (WXWork-Robotd {})", crate_version!()),
);
if http_data.content_type.len() > 0 {
http_request.header(http::header::CONTENT_TYPE, http_data.content_type.as_str());
Expand Down

0 comments on commit 88e705e

Please sign in to comment.