📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 08:10:05
📂
/ (Root)
/
opt
/
alt
/
ruby33
/
share
/
ri
/
system
/
Net
/
HTTP
📍 /opt/alt/ruby33/share/ri/system/Net/HTTP
🔄 Refresh
✏️
Editing: set_debug_output-i.ri
Read Only
U:RDoc::AnyMethod[iI"set_debug_output:ETI"Net::HTTP#set_debug_output;TF:privateo:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I":*WARNING* This method opens a serious security hole. ;TI".Never use this method in production code.;To:RDoc::Markup::BlankLine o; ; [I"*Sets the output stream for debugging:;T@o:RDoc::Markup::Verbatim; [ I"$http = Net::HTTP.new(hostname) ;TI"'File.open('t.tmp', 'w') do |file| ;TI"# http.set_debug_output(file) ;TI" http.start ;TI" http.get('/nosuch/1') ;TI" http.finish ;TI" end ;TI"puts File.read('t.tmp') ;T:@format0o; ; [I"Output:;T@o;; [%I">opening connection to jsonplaceholder.typicode.com:80... ;TI"opened ;TI"�<- "GET /nosuch/1 HTTP/1.1\r\nAccept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3\r\nAccept: */*\r\nUser-Agent: Ruby\r\nHost: jsonplaceholder.typicode.com\r\n\r\n" ;TI"%-> "HTTP/1.1 404 Not Found\r\n" ;TI"2-> "Date: Mon, 12 Dec 2022 21:14:11 GMT\r\n" ;TI"<-> "Content-Type: application/json; charset=utf-8\r\n" ;TI" -> "Content-Length: 2\r\n" ;TI"%-> "Connection: keep-alive\r\n" ;TI"$-> "X-Powered-By: Express\r\n" ;TI"&-> "X-Ratelimit-Limit: 1000\r\n" ;TI")-> "X-Ratelimit-Remaining: 999\r\n" ;TI",-> "X-Ratelimit-Reset: 1670879660\r\n" ;TI",-> "Vary: Origin, Accept-Encoding\r\n" ;TI"5-> "Access-Control-Allow-Credentials: true\r\n" ;TI"+-> "Cache-Control: max-age=43200\r\n" ;TI"-> "Pragma: no-cache\r\n" ;TI"-> "Expires: -1\r\n" ;TI".-> "X-Content-Type-Options: nosniff\r\n" ;TI"8-> "Etag: W/\"2-vyGp6PvFo4RvsFtPoIWeCReyIC8\"\r\n" ;TI"-> "Via: 1.1 vegur\r\n" ;TI"$-> "CF-Cache-Status: MISS\r\n" ;TI"A-> "Server-Timing: cf-q-config;dur=1.3000000762986e-05\r\n" ;TI"*-> "Report-To: {\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=yOr40jo%2BwS1KHzhTlVpl54beJ5Wx2FcG4gGV0XVrh3X9OlR5q4drUn2dkt5DGO4GDcE%2BVXT7CNgJvGs%2BZleIyMu8CLieFiDIvOviOY3EhHg94m0ZNZgrEdpKD0S85S507l1vsEwEHkoTm%2Ff19SiO\"}],\"group\":\"cf-nel\",\"max_age\":604800}\r\n" ;TI"X-> "NEL: {\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}\r\n" ;TI"!-> "Server: cloudflare\r\n" ;TI"+-> "CF-RAY: 778977dc484ce591-DFW\r\n" ;TI"G-> "alt-svc: h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400\r\n" ;TI"-> "\r\n" ;TI"reading 2 bytes... ;TI" -> "{}" ;TI"read 2 bytes ;TI"Conn keep-alive;T; 0: @fileI"lib/net/http.rb;T:0@omit_headings_from_table_of_contents_below000[ I" (output);T@BFI" HTTP;TcRDoc::NormalClass00
💾 Save Changes
❌ Cancel