Skip to content

Commit

Permalink
Use HTTPS in readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
sagebind committed Jan 1, 2021
1 parent 0329952 commit 4b65185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ use isahc::prelude::*;
fn main() -> Result<(), isahc::Error> {
// Send a GET request and wait for the response headers.
// Must be `mut` so we can read the response body.
let mut response = isahc::get("http://example.org")?;
let mut response = isahc::get("https://example.org")?;

// Print some basic info about the response to standard output.
println!("Status: {}", response.status());
Expand Down

0 comments on commit 4b65185

Please sign in to comment.