📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 18:10:48
📂
/ (Root)
/
opt
/
alt
/
ruby33
/
share
/
ri
/
system
/
Net
/
HTTPHeader
📍 /opt/alt/ruby33/share/ri/system/Net/HTTPHeader
🔄 Refresh
✏️
Editing: each_header-i.ri
Read Only
U:RDoc::AnyMethod[iI"each_header:ETI" Net::HTTPHeader#each_header;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I".Calls the block with each key/value pair:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"8res = Net::HTTP.get_response(hostname, '/todos/1') ;TI"%res.each_header do |key, value| ;TI". p [key, value] if key.start_with?('c') ;TI" end ;T:@format0o; ; [I"Output:;T@o;; [ I"9["content-type", "application/json; charset=utf-8"] ;TI""["connection", "keep-alive"] ;TI"(["cache-control", "max-age=43200"] ;TI" ["cf-cache-status", "HIT"] ;TI"(["cf-ray", "771d17e9bc542cf5-ORD"] ;T; 0o; ; [I"0Returns an enumerator if no block is given.;T@o; ; [I"FNet::HTTPHeader#each is an alias for Net::HTTPHeader#each_header.;T: @fileI"lib/net/http/header.rb;T:0@omit_headings_from_table_of_contents_below00I"key;T[[I" each;To;; [ ;@%;0I"();T@%FI"HTTPHeader;TcRDoc::NormalModule00
💾 Save Changes
❌ Cancel