A simple Python script to measure the response time of a website using HTTP GET requests.
- Prompts for a website address.
- Sends a GET request and displays:
- Status code
- Resolved URL
- Content size (in bytes)
- Prints the time taken for the request in seconds and milliseconds.
- Python 3.x
requestslibrary
Install dependencies:
requests libraryRun the script:
python ping_time.pyEnter a website address when prompted (e.g., example.com or https://example.com).