Skip to content

Basic HTTP Header Viewer Script #6

@Ankurdeewan

Description

@Ankurdeewan

Create a script that takes a URL and fetches its HTTP response headers. This is useful for quickly checking server details like Server, Content-Type, and Set-Cookie.

Expected Behavior

  • Input: single URL
  • Output: print all response headers in a clean format
  • Handle unreachable URLs gracefully

Example Usage

python headers.py -u http://example.com

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions