Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Check Website Web Protocol | Web Cyber Security
Cyber Security Fundamentals
course content

Зміст курсу

Cyber Security Fundamentals

Cyber Security Fundamentals

1. Introduction to Cyber Security
2. Web Cyber Security
3. Information Encryption

bookChallenge: Check Website Web Protocol

Завдання
test

Swipe to show code editor

Let's create a simple function that will make a basic request to a website and check whether it uses HTTPS.
Your task is to:

  1. Make a request and check if the response status code equals 200. It's needed to check the availability of the chosen URL.
  2. Check if the response URL starts with subscring https. It will indicate that our source uses HTTPS web protocol.
  3. Call the check_https_protocol() function with the corresponding URL as an argument to check it.

Note

While our URL ('http://codefinity.com') initially indicates the use of the HTTP protocol, the server might redirect it to HTTPS as per its server-side configurations. We aim to ascertain the server's support for HTTPS by examining its configurations. If successful, our request will be redirected, and the response URL will commence with 'https'.

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 3
toggle bottom row

bookChallenge: Check Website Web Protocol

Завдання
test

Swipe to show code editor

Let's create a simple function that will make a basic request to a website and check whether it uses HTTPS.
Your task is to:

  1. Make a request and check if the response status code equals 200. It's needed to check the availability of the chosen URL.
  2. Check if the response URL starts with subscring https. It will indicate that our source uses HTTPS web protocol.
  3. Call the check_https_protocol() function with the corresponding URL as an argument to check it.

Note

While our URL ('http://codefinity.com') initially indicates the use of the HTTP protocol, the server might redirect it to HTTPS as per its server-side configurations. We aim to ascertain the server's support for HTTPS by examining its configurations. If successful, our request will be redirected, and the response URL will commence with 'https'.

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 3
toggle bottom row

bookChallenge: Check Website Web Protocol

Завдання
test

Swipe to show code editor

Let's create a simple function that will make a basic request to a website and check whether it uses HTTPS.
Your task is to:

  1. Make a request and check if the response status code equals 200. It's needed to check the availability of the chosen URL.
  2. Check if the response URL starts with subscring https. It will indicate that our source uses HTTPS web protocol.
  3. Call the check_https_protocol() function with the corresponding URL as an argument to check it.

Note

While our URL ('http://codefinity.com') initially indicates the use of the HTTP protocol, the server might redirect it to HTTPS as per its server-side configurations. We aim to ascertain the server's support for HTTPS by examining its configurations. If successful, our request will be redirected, and the response URL will commence with 'https'.

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Завдання
test

Swipe to show code editor

Let's create a simple function that will make a basic request to a website and check whether it uses HTTPS.
Your task is to:

  1. Make a request and check if the response status code equals 200. It's needed to check the availability of the chosen URL.
  2. Check if the response URL starts with subscring https. It will indicate that our source uses HTTPS web protocol.
  3. Call the check_https_protocol() function with the corresponding URL as an argument to check it.

Note

While our URL ('http://codefinity.com') initially indicates the use of the HTTP protocol, the server might redirect it to HTTPS as per its server-side configurations. We aim to ascertain the server's support for HTTPS by examining its configurations. If successful, our request will be redirected, and the response URL will commence with 'https'.

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Секція 2. Розділ 3
Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
We're sorry to hear that something went wrong. What happened?
some-alt