Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7842185
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T16:15:43+00:00 2026-06-02T16:15:43+00:00

for example, in shell, I could use curl & do curl -I http://google.com and

  • 0

for example, in shell, I could use curl & do

curl -I http://google.com

and it would print out raw http headers. what’s the alternative of this in ruby?

Question being, how to print raw http headers in Ruby?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T16:15:45+00:00Added an answer on June 2, 2026 at 4:15 pm
    require 'open-uri'
    open("http://google.com"){|f| p f.meta }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to have a shell variable that could be dynamically run every
The core question is about the use of the HTTP Headers, including Range ,
To execute a command from the Win shell I needed ShellExecuteA(NULL, open, http://stackoverflow.com, NULL,
So I'm clicking on this link: <a href=intent://www.google.com#Intent;scheme=http;action=android.intent.action.VIEW;end>Google</a> (I know its a silly example,
Say for example you had a shell script that utilises inotifywait in the following
For example, how do I get Output.map from F:\Program Files\SSH Communications Security\SSH Secure Shell\Output.map
is there an out-of-box way to spell out an int in C#? For example
Example 1: <head> <meta http-equiv=description content=<%= Foo %>/> </head> Renders <meta http-equiv=description content=Bar/> Example
In Python IDLE Shell it seems I cannot use a compound conditional expression and
I want to create an interactive shell type application. For example: > ./app.py Enter

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.