http@(1)

πŸ“¦
version 0.88 Β· 3 versions
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu jammy, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’… http@ β€” the manual page, but make it make sense

okay bestie, so this is http@, and it lives in the General Commands Manual section (that's the (1) vibe check, iykyk). It's a tiny little icon whose whole personality is going and grabbing a web page off a remote host. That's it. That's the job. πŸŽ€


✨ NAME ✨

http@ β€” gets a web page from a remote host. literally just that. no notes. πŸ‘‘


🌸 SYNOPSIS 🌸

http@ [ host [ page [ port ] ] ]

everything is optional, everything is chill, the brackets are all nesting like russian dolls πŸͺ†


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea: http@ connects to port on host, sends this exact little message:

GET /page HTTP/1.0

Host: host

to host, and then prints the contents of the response β€” and while it's at it, it strips the CR off the end of every single line. so clean. so tidy. 🧚

  • if port isn't supplied, http@ just uses TCP port 80 (that's the HTTP one, bestie, the classic πŸ’–)
  • if page isn't supplied, http@ asks for / from host β€” the home page, the front door, the main character entrance πŸšͺ✨
  • if host isn't supplied, http@ connects to the local host β€” yes, itself, it's giving self-love fr fr πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ

and if you wanna go straight to the source, it's at:

http://cr.yp.to/ucspi-tcp.html

πŸ’€ reminder bestie: every one of those SEE ALSO entries is a real page in this same manual, so go read them, they're all part of the same friend group 🫢

and that's the whole page, no cap. this was http@(1) from the General Commands Manual β€” short, sweet, slayed. go fetch a webpage, you've earned it. 🌈⭐

πŸ“¦ where this page comes from