Server IP : 66.29.132.122 / Your IP : 3.144.15.205 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/rdoc/classes/Rack/Response/ |
Upload File : |
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Module: Rack::Response::Helpers</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> <script type="text/javascript"> // <![CDATA[ function popupCode( url ) { window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") } function toggleCode( id ) { if ( document.getElementById ) elem = document.getElementById( id ); else if ( document.all ) elem = eval( "document.all." + id ); else return false; elemStyle = elem.style; if ( elemStyle.display != "block" ) { elemStyle.display = "block" } else { elemStyle.display = "none" } return true; } // Make codeblocks hidden by default document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) // ]]> </script> </head> <body> <div id="classHeader"> <table class="header-table"> <tr class="top-aligned-row"> <td><strong>Module</strong></td> <td class="class-name-in-header">Rack::Response::Helpers</td> </tr> <tr class="top-aligned-row"> <td><strong>In:</strong></td> <td> <a href="../../../files/lib/rack/response_rb.html"> lib/rack/response.rb </a> <br /> </td> </tr> </table> </div> <!-- banner header --> <div id="bodyContent"> <div id="contextContent"> </div> <div id="method-list"> <h3 class="section-bar">Methods</h3> <div class="name-list"> <a href="#M000230">accepted?</a> <a href="#M000231">bad_request?</a> <a href="#M000226">client_error?</a> <a href="#M000241">content_length</a> <a href="#M000240">content_type</a> <a href="#M000229">created?</a> <a href="#M000233">forbidden?</a> <a href="#M000236">i_m_a_teapot?</a> <a href="#M000239">include?</a> <a href="#M000223">informational?</a> <a href="#M000222">invalid?</a> <a href="#M000242">location</a> <a href="#M000235">method_not_allowed?</a> <a href="#M000234">not_found?</a> <a href="#M000228">ok?</a> <a href="#M000238">redirect?</a> <a href="#M000225">redirection?</a> <a href="#M000227">server_error?</a> <a href="#M000224">successful?</a> <a href="#M000232">unauthorized?</a> <a href="#M000237">unprocessable?</a> </div> </div> </div> <!-- if includes --> <div id="section"> <div id="attribute-list"> <h3 class="section-bar">Attributes</h3> <div class="name-list"> <table> <tr class="top-aligned-row context-row"> <td class="context-item-name">headers</td> <td class="context-item-value"> [R] </td> <td class="context-item-desc"> Headers </td> </tr> <tr class="top-aligned-row context-row"> <td class="context-item-name">original_headers</td> <td class="context-item-value"> [R] </td> <td class="context-item-desc"> Headers </td> </tr> </table> </div> </div> <!-- if method_list --> <div id="methods"> <h3 class="section-bar">Public Instance methods</h3> <div id="method-M000230" class="method-detail"> <a name="M000230"></a> <div class="method-heading"> <a href="Helpers.src/M000230.html" target="Code" class="method-signature" onclick="popupCode('Helpers.src/M000230.html');return false;"> <span class="method-name">accepted?</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000231" class="method-detail"> <a name="M000231"></a> <div class="method-heading"> <a href="Helpers.src/M000231.html" target="Code" class="method-signature" onclick="popupCode('Helpers.src/M000231.html');return false;"> <span class="method-name">bad_request?</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000226" class="method-detail"> <a name="M000226"></a> <div class="method-heading"> <a href="Helpers.src/M000226.html" target="Code" class="method-signature" onclick="popupCode('Helpers.src/M000226.html');return false;"> <span class="method-name">client_error?</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000241" class="method-detail"> <a name="M000241"></a> <div class="method-heading"> <a href="Helpers.src/M000241.html" target="Code" class="method-signature" onclick="popupCode('Helpers.src/M000241.html');return false;"> <span class="method-name">content_length</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000240" class="method-detail"> <a name="M000240"></a> <div class="method-heading"> <a href="Helpers.src/M000240.html" target="Code" class="method-signature" onclick="popupCode('Helpers.src/M000240.html');return false;"> <span class="method-name">content_type</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000229" class="method-detail"> <a name="M000229"></a> <div class="method-heading"> <a href="Helpers.src/M000229.html" target="Code" class="method-signature" onclick="popupCode('Helpers.src/M000229.html');return false;"> <span class="method-name">created?</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000233" class="method-detail"> <a name="M000233"></a> <div class="method-heading"> <a href="Helpers.src/M000233.html" target="Code" class="method-signature" onclick="popupCode('Helpers.src/M000233.html');return false;"> <span class="method-name">forbidden?</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000236" class="method-detail"> <a name="M000236"></a> <div class="method-heading"> <a href="Helpers.src/M000236.html" target="Code" class="method-signature" onclick="popupCode('Helpers.src/M000236.html');return false;"> <span class="method-name">i_m_a_teapot?</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000239" class="method-detail"> <a name="M000239"></a> <div class="method-heading"> <a href="Helpers.src/M000239.html" target="Code" class="method-signature" onclick="popupCode('Helpers.src/M000239.html');return false;"> <span class="method-name">include?</span><span class="method-args">(header)</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000223" class="method-detail"> <a name="M000223"></a> <div class="method-heading"> <a href="Helpers.src/M000223.html" target="Code" class="method-signature" onclick="popupCode('Helpers.src/M000223.html');return false;"> <span class="method-name">informational?</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000222" class="method-detail"> <a name="M000222"></a> <div class="method-heading"> <a href="Helpers.src/M000222.html" target="Code" class="method-signature" onclick="popupCode('Helpers.src/M000222.html');return false;"> <span class="method-name">invalid?</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000242" class="method-detail"> <a name="M000242"></a> <div class="method-heading"> <a href="Helpers.src/M000242.html" target="Code" class="method-signature" onclick="popupCode('Helpers.src/M000242.html');return false;"> <span class="method-name">location</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000235" class="method-detail"> <a name="M000235"></a> <div class="method-heading"> <a href="Helpers.src/M000235.html" target="Code" class="method-signature" onclick="popupCode('Helpers.src/M000235.html');return false;"> <span class="method-name">method_not_allowed?</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000234" class="method-detail"> <a name="M000234"></a> <div class="method-heading"> <a href="Helpers.src/M000234.html" target="Code" class="method-signature" onclick="popupCode('Helpers.src/M000234.html');return false;"> <span class="method-name">not_found?</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000228" class="method-detail"> <a name="M000228"></a> <div class="method-heading"> <a href="Helpers.src/M000228.html" target="Code" class="method-signature" onclick="popupCode('Helpers.src/M000228.html');return false;"> <span class="method-name">ok?</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000238" class="method-detail"> <a name="M000238"></a> <div class="method-heading"> <a href="Helpers.src/M000238.html" target="Code" class="method-signature" onclick="popupCode('Helpers.src/M000238.html');return false;"> <span class="method-name">redirect?</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000225" class="method-detail"> <a name="M000225"></a> <div class="method-heading"> <a href="Helpers.src/M000225.html" target="Code" class="method-signature" onclick="popupCode('Helpers.src/M000225.html');return false;"> <span class="method-name">redirection?</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000227" class="method-detail"> <a name="M000227"></a> <div class="method-heading"> <a href="Helpers.src/M000227.html" target="Code" class="method-signature" onclick="popupCode('Helpers.src/M000227.html');return false;"> <span class="method-name">server_error?</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000224" class="method-detail"> <a name="M000224"></a> <div class="method-heading"> <a href="Helpers.src/M000224.html" target="Code" class="method-signature" onclick="popupCode('Helpers.src/M000224.html');return false;"> <span class="method-name">successful?</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000232" class="method-detail"> <a name="M000232"></a> <div class="method-heading"> <a href="Helpers.src/M000232.html" target="Code" class="method-signature" onclick="popupCode('Helpers.src/M000232.html');return false;"> <span class="method-name">unauthorized?</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000237" class="method-detail"> <a name="M000237"></a> <div class="method-heading"> <a href="Helpers.src/M000237.html" target="Code" class="method-signature" onclick="popupCode('Helpers.src/M000237.html');return false;"> <span class="method-name">unprocessable?</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> </div> </div> <div id="validator-badges"> <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> </div> </body> </html>