GIF89a=( õ' 7IAXKgNgYvYx\%wh…hŽth%ˆs%—x¨}9®Œ©€&©‰%¶†(¹–.¹5·œD¹&Çš)ÇŸ5ǘ;Í£*È¡&Õ²)ׯ7×µ<Ñ»4ï°3ø‘HÖ§KͯT÷¨Yÿšqÿ»qÿÔFØ !ù ' !ÿ NETSCAPE2.0 , =( þÀ“pH,È¤rÉl:ŸÐ¨tJ­Z¯Ø¬vËíz¿à°xL.›Ïè´zÍn»ßð¸|N¯Ûïø¼~Ïïûÿ€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§gª«ªE¯°¨¬ª±²Œ¹º¹E¾­”´ÂB¶¯ §Åȸ»ÑD¾¿Á•ÄÅ®° ÝH¾ÒLÀÆDÙ«D¶BÝïðÀ¾DÑÑÔTÌÍíH òGö¨A RÎڐ |¥ ٭&ºìE8œ¹kGÔAÞpx­a¶­ã R2XB®åE8I€Õ6Xî:vT)äžþÀq¦è³¥ì仕F~%xñ  4#ZÔ‰O|-4Bs‘X:= QÉ œš lºÒyXJŠGȦ|s hÏíK–3l7·B|¥$'7Jީܪ‰‡àá”Dæn=Pƒ ¤Òëí‰`䌨ljóá¯Éüv>á–Á¼5 ½.69ûϸd«­ºÀûnlv©‹ªîf{¬ÜãPbŸ  l5‘ޝpß ´ ˜3aÅùäI«O’ý·‘áÞ‡˜¾Æ‚ÙÏiÇÿ‹Àƒ #öó)pâš Þ½ ‘Ý{ó)vmÞü%D~ 6f s}ŃƒDØW Eþ`‡þ À…L8xá†ç˜{)x`X/> Ì}mø‚–RØ‘*|`D=‚Ø_ ^ð5 !_…'aä“OÚ—7âcð`D”Cx`ÝÂ¥ä‹éY¹—F¼¤¥Š?¡Õ™ n@`} lď’ÄÉ@4>ñd œ à‘vÒxNÃ×™@žd=ˆgsžG±æ ´²æud &p8Qñ)ˆ«lXD©øÜéAžHìySun jª×k*D¤LH] †¦§C™Jä–´Xb~ʪwStŽ6K,°£qÁœ:9ت:¨þªl¨@¡`‚ûÚ ».Û¬¯t‹ÆSÉ[:°=Š‹„‘Nåû”Ìî{¿ÂA ‡Rà›ÀÙ6úë°Ÿð0Ä_ ½;ÃϱîÉì^ÇÛÇ#Ëë¼ôº!±Ä˜íUîÅÇ;0L1óÁµö«p% AÀºU̬ݵ¼á%霼€‡¯Á~`ÏG¯»À× ­²± =4ªnpð3¾¤³¯­ü¾¦îuÙuµÙ®|%2ÊIÿür¦#0·ÔJ``8È@S@5ê¢ ö×Þ^`8EÜ]ý.뜃Âç 7 ú ȉÞj œ½Dç zý¸iþœÑÙûÄë!ˆÞÀl§Ïw‹*DçI€nEX¯¬¼ &A¬Go¼QföõFç°¯;é¦÷îŽêJ°îúôF5¡ÌQ|îúöXªæ»TÁÏyñêï]ê² o óÎC=öõ›ÒÓPB@ D×½œä(>èCÂxŽ`±«Ÿ–JЀ»Û á¤±p+eE0`ëŽ`A Ú/NE€Ø†À9‚@¤à H½7”à‡%B‰`Àl*ƒó‘–‡8 2ñ%¸ —€:Ù1Á‰E¸àux%nP1ð!‘ðC)¾P81lÑɸF#ˆ€{´âé°ÈB„0>±û °b¡Š´±O‚3È–Ù()yRpbµ¨E.Z‘D8ÊH@% òŒx+%Ù˜Æcü »¸˜fõ¬b·d`Fê™8èXH"ÉÈ-±|1Ô6iI, 2““¬$+](A*jÐ QTÂo‰.ÛU슬Œã„Ž`¯SN¡–¶Äåyše¯ª’­¬‚´b¦Éož œ)åyâ@Ì®3 ÎtT̉°&Ø+žLÀf"Ø-|žçÔ>‡Ðv¦Ðžì\‚ Q1)Ž@Žh#aP72”ˆ™¨$‚ !ù " , =( …7IAXG]KgNgYvYxR"k\%w]'}hŽth%ˆg+ˆs%—r.—m3šx3˜x¨}9®€&©€+¨‡7§‰%¶†(¹–.¹œD¹&ǘ;Í•&ײ)×»4ïÌ6ò§KÍ þ@‘pH,È¤rÉl:ŸÐ¨tJ­Z¯Ø¬vËíz¿à°xL.›Ïè´zÍn»ßð¸|N¯Ûïø¼~Ïïûÿ€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§g «¬ E ±± ¨­¶°ººE Á´”·®C¬²§Ç¶Œ»ÓDÃÕƷ¯Ê±H½ºM×ÁGÚ¬D¶BËÁ½î½DÓôTÏÛßîG»ôõC×CÌ l&âž:'òtU³6ɹ#·Ø)€'Ü.6±&ëÍÈ» K(8p0N?!æ2"ÛˆNIJX>R¼ÐO‚M '¡¨2¸*Ÿþ>#n↠å@‚<[:¡Iïf’ ¤TÚ˘CdbÜÙ“[«ŽEú5MBo¤×@€`@„€Êt W-3 ¶Ÿ¡BíêäjIÝ…Eò9[T…$íêﯧ„…•s»Óȳ¹€ÅÚdc®UUρ#±Ùïldj?´í¼²`\ŽÁðÞu|3'ÖŒ]ë6 ¶S#²‡˜FKLÈ *N E´‘áäŠ$˜›eÄYD„ºq«.è촁ƒs \-ÔjA 9²õ÷å- üúM[Âx(ís÷ì®x€|í¡Ù’p¦‚ ŽkÛTÇDpE@WÜ ²Ç]kŠ1¨ þ€·Yb ÓÁ‰l°*n0 ç™—žzBdОu¾7ĉBl€â‰-ºx~|UåU‰  h*Hœ|e"#"?vpÄiŠe6^ˆ„+qâŠm8 #VÇá ‘å–ÄV„œ|Аè•m"сœn|@›U¶ÆÎž—Špb¥G¨ED”€±Úê2FÌIç? >Éxå Œ± ¡¤„%‘žjŸ‘ꄯ<Ìaà9ijÐ2˜D¦È&›†Z`‚å]wþ¼Â:ç6àB¤7eFJ|õÒ§Õ,¨äàFÇ®cS·Ê¶+B°,‘Þ˜ºNûãØ>PADÌHD¹æž«ÄÀnÌ¥}­#Ë’ë QÀÉSÌÂÇ2ÌXÀ{æk²lQÁ2«ÊðÀ¯w|2Í h‹ÄÂG€,m¾¶ë3ÐÙ6-´ÅE¬L°ÆIij*K½ÀÇqï`DwVÍQXœÚÔpeœ±¬Ñ q˜§Tœ½µƒ°Œìu Â<¶aØ*At¯lmEØ ü ôÛN[P1ÔÛ¦­±$ÜÆ@`ùåDpy¶yXvCAyåB`ŽD¶ 0QwG#¯ æš[^Äþ $ÀÓÝǦ{„L™[±úKÄgÌ;ï£S~¹ìGX.ôgoT.»åˆ°ùŸûù¡?1zö¦Ÿž:ÅgÁ|ìL¹ „®£œŠ‚à0œ]PÁ^p F<"•ç?!,ñ‡N4—…PÄ Á„ö¨Û:Tè@hÀ‹%táÿ:ø-žI<`þ‹p I….)^ 40D#p@ƒj4–؀:²‰1Øâr˜¼F2oW¼#Z†;$Q q” ‘ ÂK¦ñNl#29 !’F@¥Bh·ᏀL!—XFóLH‘Kh¤.«hE&JòG¨¥<™WN!€ÑÙÚˆY„@†>Œž19J" 2,/ &.GXB%ÌRÈ9B6¹W]’î×ÔW¥’IÎ$ ñ‹ÓŒE8YÆ ¼³™ñA5“à®Q.aŸB€&Ø©³ JÁ—! ¦t)K%tœ-¦JF bòNMxLôþ)ÐR¸Ð™‘ èÝ6‘O!THÌ„HÛ ‰ !ù ) , =( …AXKgNgYvYxR"k\%wh…hŽh%ˆg+ˆs%—r.—x3˜x¨}9®€&©€+¨Œ,©‡7§‰%¶†(¹–.¹5·&Çš)ǘ;Í•&×£*Ȳ)ׯ7×»4ï°3øÌ6ò‘HÖ§KÍ»Hó¯T÷¨Yÿ»qÿÇhÿ þÀ”pH,È¤rÉl:ŸÐ¨tJ­Z¯Ø¬vËíz¿à°xL.›Ïè´zÍn»ßð¸|N¯Ûïø¼~Ïïûÿ€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§g ª« E$±²¨ª­ · °²½$E$ÂÕ««D· Í ¿¦Ç¶¸ÌŒ¾³CÃÅÆ E ééH½MÛÂGâªD­ çBêêϾD²ÒaÀà€Š1r­ðÓ¤ ÔožzU!L˜C'¾yW½UGtäÇïÙllê0×àÂuGþ)AÀs[þ·xì ÁxO%ƒûX2ó—  P£n›R/¡ÑšHše+êDm?# —‘Ç£6¡8íJ¡ŸâDiäªM¥Ö„ôj“¬¹£5oQ7°- <‡ *´lãÓŒ2r/a!l)dÈ A™ÈE¢ôÔ͆…ð ;Ö˜c ¡%ß‚’Ùˆâ¸b½—pe~C"BíëÚHïeF2§æŠ8qb t_`urŠeü wÅu3êæPv§h•"ß`íÍxçLĹÜÖ3á  ~Öº“®›¸ÏMDfJÙ °„ÛµáWõ%§œ‚à©–‚X ÓØ)@®Ñ›Eþ´wëuÅSxb8y\mÖzœ¥§ZbºE—ÂLªÌw!y(>¡™wú=Ç|ÅÝs¢d €CÁW)HÜcC$€L Ä7„r.á\{)@ð` @ äXÈ$PD” `šaG:§æˆOˆ72EÐamn]ù"ŒcÊxÑŒ° &dR8`g«iÙŸLR!¦P …d’ä¡“¦ðÎTƒ¦ià|À _ ¥ Qi#¦Šg›Æ ›noMµ ›V ã£)p ç£ÎW…š=Âeªk§†j„ ´®1ß²sÉxéW«jšl|0¯B0Û, \jÛ´›6±¬¶C ÛíWþï|ëÙ‹¸ñzĸV {ì;Ýñn¼òVˆm³I¼³.Ðã¤PN¥ ²µ¼„µCã+¹ÍByî£Ñ¾HŸ›ëê 7ìYÆFTk¨SaoaY$Dµœìï¿Ã29RÈkt Çïfñ ÇÒ:ÀÐSp¹3ÇI¨â¥DZÄ ü9Ïýögñ½­uÔ*3)O‘˜Ö[_hv ,àî×Et Ÿé¶BH€ Õ[ü±64M@ÔSÌM7dÐl5-ÄÙU܍´©zߌ3Ô€3ž„ „ ¶ÛPô½5×g› êÚ˜kN„Ý…0Îj4€Ìë°“#{þÕ3S2çKÜ'ợlø¼Ú2K{° {Û¶?žm𸧠ËI¼nEò='êüóºè^üæÃ_Û=°óž‚ì#Oý¿Í'¡½áo..ÏYìnüñCœO±Áa¿¢Kô½o,üÄËbö²çºíï{ËC Ú— "”Ï{ËK ÍÒw„õ±Oz dÕ¨à:$ ƒô—«v»] A#ð «€¿šéz)Rx׿ˆ¥‚d``èw-îyÏf×K!ð€þ­Ð|ìPľ„=Ì`ý(f” 'Pa ¥ÐBJa%Ðâf§„%Š¡}FàáÝ×6>ÉäŠG"éŽè=ø!oа^FP¼Ø©Q„ÀCÙÁ`(Ž\ÄÝ® ©Â$<n@dÄ E#ììUÒI! ‚#lù‹`k¦ÐÇ'Rró’ZýNBÈMF Í[¤+‹ðɈ-áwj¨¥þ8¾rá ,VÂh„"|½œ=×G_¦Ñ™EØ 0i*%̲˜Æda0mV‚k¾)›;„&6 p>ÓjK “¦Ç# âDÂ:ûc?:R Ó¬fÞéI-Ì“•Ã<ä=™Ï7˜3œ¨˜c2ŒW ,ˆ”8(T™P‰F¡Jhç"‚ ; 403WebShell
403Webshell
Server IP : 104.21.83.152  /  Your IP : 216.73.216.251
Web Server : LiteSpeed
System : Linux premium229.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User : akhalid ( 749)
PHP Version : 8.3.22
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/rdoc/files/lib/rack/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/rdoc/files/lib/rack/utils_rb.html
<?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>File: utils.rb</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="fileHeader">
    <h1>utils.rb</h1>
    <table class="header-table">
    <tr class="top-aligned-row">
      <td><strong>Path:</strong></td>
      <td>lib/rack/utils.rb
      </td>
    </tr>
    <tr class="top-aligned-row">
      <td><strong>Last Update:</strong></td>
      <td>Thu Dec 05 17:13:57 -0500 2019</td>
    </tr>
    </table>
  </div>
  <!-- banner header -->

  <div id="bodyContent">



  <div id="contextContent">


    <div id="requires-list">
      <h3 class="section-bar">Required files</h3>

      <div class="name-list">
      fileutils&nbsp;&nbsp;
      set&nbsp;&nbsp;
      tempfile&nbsp;&nbsp;
      rack/multipart&nbsp;&nbsp;
      time&nbsp;&nbsp;
      rack/backports/uri/common_18&nbsp;&nbsp;
      rack/backports/uri/common_192&nbsp;&nbsp;
      rack/backports/uri/common_193&nbsp;&nbsp;
      uri/common&nbsp;&nbsp;
      </div>
    </div>

   </div>

    <div id="method-list">
      <h3 class="section-bar">Methods</h3>

      <div class="name-list">
      <a href="#M000006">best_q_match</a>&nbsp;&nbsp;
      <a href="#M000004">build_nested_query</a>&nbsp;&nbsp;
      <a href="#M000003">build_query</a>&nbsp;&nbsp;
      <a href="#M000015">byte_ranges</a>&nbsp;&nbsp;
      <a href="#M000012">bytesize</a>&nbsp;&nbsp;
      <a href="#M000011">bytesize</a>&nbsp;&nbsp;
      <a href="#M000018">clean_path_info</a>&nbsp;&nbsp;
      <a href="#M000010">delete_cookie_header!</a>&nbsp;&nbsp;
      <a href="#M000007">escape_html</a>&nbsp;&nbsp;
      <a href="#M000001">normalize_params</a>&nbsp;&nbsp;
      <a href="#M000002">params_hash_type?</a>&nbsp;&nbsp;
      <a href="#M000005">q_values</a>&nbsp;&nbsp;
      <a href="#M000014">rfc2109</a>&nbsp;&nbsp;
      <a href="#M000013">rfc2822</a>&nbsp;&nbsp;
      <a href="#M000016">secure_compare</a>&nbsp;&nbsp;
      <a href="#M000008">select_best_encoding</a>&nbsp;&nbsp;
      <a href="#M000009">set_cookie_header!</a>&nbsp;&nbsp;
      <a href="#M000017">status_code</a>&nbsp;&nbsp;
      </div>
    </div>

  </div>


    <!-- if includes -->

    <div id="section">


    <div id="constants-list">
      <h3 class="section-bar">Constants</h3>

      <div class="name-list">
        <table summary="Constants">
        <tr class="top-aligned-row context-row">
          <td class="context-item-name">ESCAPE_HTML</td>
          <td>=</td>
          <td class="context-item-value">{       &quot;&amp;&quot; =&gt; &quot;&amp;amp;&quot;,       &quot;&lt;&quot; =&gt; &quot;&amp;lt;&quot;,       &quot;&gt;&quot; =&gt; &quot;&amp;gt;&quot;,       &quot;'&quot; =&gt; &quot;&amp;#x27;&quot;,       '&quot;' =&gt; &quot;&amp;quot;&quot;,       &quot;/&quot; =&gt; &quot;&amp;#x2F;&quot;</td>
        </tr>
        <tr class="top-aligned-row context-row">
          <td class="context-item-name">ESCAPE_HTML_PATTERN</td>
          <td>=</td>
          <td class="context-item-value">Regexp.union(*ESCAPE_HTML.keys)</td>
        </tr>
        <tr class="top-aligned-row context-row">
          <td class="context-item-name">ESCAPE_HTML_PATTERN</td>
          <td>=</td>
          <td class="context-item-value">/#{Regexp.union(*ESCAPE_HTML.keys)}/n</td>
          <td width="3em">&nbsp;</td>
          <td class="context-item-desc">
On 1.8, there is a kcode = &#8216;u&#8217; bug that allows for XSS
otherwise TODO doesn&#8216;t apply to jruby, so a better condition above
might be preferable?

</td>
        </tr>
        <tr class="top-aligned-row context-row">
          <td class="context-item-name">HTTP_STATUS_CODES</td>
          <td>=</td>
          <td class="context-item-value">{       100 =&gt; 'Continue',       101 =&gt; 'Switching Protocols',       102 =&gt; 'Processing',       200 =&gt; 'OK',       201 =&gt; 'Created',       202 =&gt; 'Accepted',       203 =&gt; 'Non-Authoritative Information',       204 =&gt; 'No Content',       205 =&gt; 'Reset Content',       206 =&gt; 'Partial Content',       207 =&gt; 'Multi-Status',       208 =&gt; 'Already Reported',       226 =&gt; 'IM Used',       300 =&gt; 'Multiple Choices',       301 =&gt; 'Moved Permanently',       302 =&gt; 'Found',       303 =&gt; 'See Other',       304 =&gt; 'Not Modified',       305 =&gt; 'Use Proxy',       307 =&gt; 'Temporary Redirect',       308 =&gt; 'Permanent Redirect',       400 =&gt; 'Bad Request',       401 =&gt; 'Unauthorized',       402 =&gt; 'Payment Required',       403 =&gt; 'Forbidden',       404 =&gt; 'Not Found',       405 =&gt; 'Method Not Allowed',       406 =&gt; 'Not Acceptable',       407 =&gt; 'Proxy Authentication Required',       408 =&gt; 'Request Timeout',       409 =&gt; 'Conflict',       410 =&gt; 'Gone',       411 =&gt; 'Length Required',       412 =&gt; 'Precondition Failed',       413 =&gt; 'Payload Too Large',       414 =&gt; 'URI Too Long',       415 =&gt; 'Unsupported Media Type',       416 =&gt; 'Range Not Satisfiable',       417 =&gt; 'Expectation Failed',       422 =&gt; 'Unprocessable Entity',       423 =&gt; 'Locked',       424 =&gt; 'Failed Dependency',       426 =&gt; 'Upgrade Required',       428 =&gt; 'Precondition Required',       429 =&gt; 'Too Many Requests',       431 =&gt; 'Request Header Fields Too Large',       500 =&gt; 'Internal Server Error',       501 =&gt; 'Not Implemented',       502 =&gt; 'Bad Gateway',       503 =&gt; 'Service Unavailable',       504 =&gt; 'Gateway Timeout',       505 =&gt; 'HTTP Version Not Supported',       506 =&gt; 'Variant Also Negotiates',       507 =&gt; 'Insufficient Storage',       508 =&gt; 'Loop Detected',       510 =&gt; 'Not Extended',       511 =&gt; 'Network Authentication Required'</td>
          <td width="3em">&nbsp;</td>
          <td class="context-item-desc">
Every standard HTTP code mapped to the appropriate message. Generated with:
curl -s <a
href="https://www.iana.org/assignments/http-status-codes/http-status-codes-1.csv">www.iana.org/assignments/http-status-codes/http-status-codes-1.csv</a>
| # ruby -ne &#8216;m =
/^(\d{3}),(?!Unassigned|\(Unused\))([^,]+)/.match($_) and # puts
&quot;#{m[1]} =&gt; \x27#{m[2].strip}\x27,&quot;&#8217;

</td>
        </tr>
        <tr class="top-aligned-row context-row">
          <td class="context-item-name">STATUS_WITH_NO_ENTITY_BODY</td>
          <td>=</td>
          <td class="context-item-value">Set.new((100..199).to_a &lt;&lt; 204 &lt;&lt; 205 &lt;&lt; 304)</td>
          <td width="3em">&nbsp;</td>
          <td class="context-item-desc">
Responses with HTTP status codes that should not have an entity body

</td>
        </tr>
        <tr class="top-aligned-row context-row">
          <td class="context-item-name">SYMBOL_TO_STATUS_CODE</td>
          <td>=</td>
          <td class="context-item-value">Hash[*HTTP_STATUS_CODES.map { |code, message|       [message.downcase.gsub(/\s|-|'/, '_').to_sym, code]</td>
        </tr>
        <tr class="top-aligned-row context-row">
          <td class="context-item-name">Multipart</td>
          <td>=</td>
          <td class="context-item-value">Rack::Multipart</td>
        </tr>
        <tr class="top-aligned-row context-row">
          <td class="context-item-name">PATH_SEPS</td>
          <td>=</td>
          <td class="context-item-value">Regexp.union(*[::File::SEPARATOR, ::File::ALT_SEPARATOR].compact)</td>
        </tr>
        </table>
      </div>
    </div>



      


    <!-- if method_list -->
    <div id="methods">
      <h3 class="section-bar">Public Instance methods</h3>

      <div id="method-M000006" class="method-detail">
        <a name="M000006"></a>

        <div class="method-heading">
          <a href="utils_rb.src/M000006.html" target="Code" class="method-signature"
            onclick="popupCode('utils_rb.src/M000006.html');return false;">
          <span class="method-name">best_q_match</span><span class="method-args">(q_value_header, available_mimes)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000004" class="method-detail">
        <a name="M000004"></a>

        <div class="method-heading">
          <a href="utils_rb.src/M000004.html" target="Code" class="method-signature"
            onclick="popupCode('utils_rb.src/M000004.html');return false;">
          <span class="method-name">build_nested_query</span><span class="method-args">(value, prefix = nil)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000003" class="method-detail">
        <a name="M000003"></a>

        <div class="method-heading">
          <a href="utils_rb.src/M000003.html" target="Code" class="method-signature"
            onclick="popupCode('utils_rb.src/M000003.html');return false;">
          <span class="method-name">build_query</span><span class="method-args">(params)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000015" class="method-detail">
        <a name="M000015"></a>

        <div class="method-heading">
          <a href="utils_rb.src/M000015.html" target="Code" class="method-signature"
            onclick="popupCode('utils_rb.src/M000015.html');return false;">
          <span class="method-name">byte_ranges</span><span class="method-args">(env, size)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Parses the &quot;Range:&quot; header, if present, into an array of Range
objects. Returns nil if the header is missing or syntactically invalid.
Returns an empty array if none of the ranges are satisfiable.
</p>
        </div>
      </div>

      <div id="method-M000012" class="method-detail">
        <a name="M000012"></a>

        <div class="method-heading">
          <a href="utils_rb.src/M000012.html" target="Code" class="method-signature"
            onclick="popupCode('utils_rb.src/M000012.html');return false;">
          <span class="method-name">bytesize</span><span class="method-args">(string)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000011" class="method-detail">
        <a name="M000011"></a>

        <div class="method-heading">
          <a href="utils_rb.src/M000011.html" target="Code" class="method-signature"
            onclick="popupCode('utils_rb.src/M000011.html');return false;">
          <span class="method-name">bytesize</span><span class="method-args">(string)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000018" class="method-detail">
        <a name="M000018"></a>

        <div class="method-heading">
          <a href="utils_rb.src/M000018.html" target="Code" class="method-signature"
            onclick="popupCode('utils_rb.src/M000018.html');return false;">
          <span class="method-name">clean_path_info</span><span class="method-args">(path_info)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000010" class="method-detail">
        <a name="M000010"></a>

        <div class="method-heading">
          <a href="utils_rb.src/M000010.html" target="Code" class="method-signature"
            onclick="popupCode('utils_rb.src/M000010.html');return false;">
          <span class="method-name">delete_cookie_header!</span><span class="method-args">(header, key, value = {})</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000007" class="method-detail">
        <a name="M000007"></a>

        <div class="method-heading">
          <a href="utils_rb.src/M000007.html" target="Code" class="method-signature"
            onclick="popupCode('utils_rb.src/M000007.html');return false;">
          <span class="method-name">escape_html</span><span class="method-args">(string)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Escape ampersands, brackets and quotes to their HTML/XML entities.
</p>
        </div>
      </div>

      <div id="method-M000001" class="method-detail">
        <a name="M000001"></a>

        <div class="method-heading">
          <a href="utils_rb.src/M000001.html" target="Code" class="method-signature"
            onclick="popupCode('utils_rb.src/M000001.html');return false;">
          <span class="method-name">normalize_params</span><span class="method-args">(params, name, v = nil)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
<a href="utils_rb.html#M000001">normalize_params</a> recursively expands
parameters into structural types. If the structural types represented by
two different parameter names are in conflict, a ParameterTypeError is
raised.
</p>
        </div>
      </div>

      <div id="method-M000002" class="method-detail">
        <a name="M000002"></a>

        <div class="method-heading">
          <a href="utils_rb.src/M000002.html" target="Code" class="method-signature"
            onclick="popupCode('utils_rb.src/M000002.html');return false;">
          <span class="method-name">params_hash_type?</span><span class="method-args">(obj)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000005" class="method-detail">
        <a name="M000005"></a>

        <div class="method-heading">
          <a href="utils_rb.src/M000005.html" target="Code" class="method-signature"
            onclick="popupCode('utils_rb.src/M000005.html');return false;">
          <span class="method-name">q_values</span><span class="method-args">(q_value_header)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000014" class="method-detail">
        <a name="M000014"></a>

        <div class="method-heading">
          <a href="utils_rb.src/M000014.html" target="Code" class="method-signature"
            onclick="popupCode('utils_rb.src/M000014.html');return false;">
          <span class="method-name">rfc2109</span><span class="method-args">(time)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Modified version of stdlib time.rb Time#rfc2822 to use
&#8217;%d-%b-%Y&#8217; instead of &#8217;% %b %Y&#8217;. It assumes that
the time is in GMT to comply to the RFC 2109.
</p>
<p>
NOTE: I&#8216;m not sure the RFC says it requires GMT, but is ambiguous
enough that I&#8216;m certain someone implemented only that option. Do not
use %a and %b from Time.strptime, it would use localized names for weekday
and month.
</p>
        </div>
      </div>

      <div id="method-M000013" class="method-detail">
        <a name="M000013"></a>

        <div class="method-heading">
          <a href="utils_rb.src/M000013.html" target="Code" class="method-signature"
            onclick="popupCode('utils_rb.src/M000013.html');return false;">
          <span class="method-name">rfc2822</span><span class="method-args">(time)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000016" class="method-detail">
        <a name="M000016"></a>

        <div class="method-heading">
          <a href="utils_rb.src/M000016.html" target="Code" class="method-signature"
            onclick="popupCode('utils_rb.src/M000016.html');return false;">
          <span class="method-name">secure_compare</span><span class="method-args">(a, b)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Constant time string comparison.
</p>
<p>
NOTE: the values compared should be of fixed length, such as strings that
have already been processed by HMAC. This should not be used on variable
length plaintext strings because it could leak length info via timing
attacks.
</p>
        </div>
      </div>

      <div id="method-M000008" class="method-detail">
        <a name="M000008"></a>

        <div class="method-heading">
          <a href="utils_rb.src/M000008.html" target="Code" class="method-signature"
            onclick="popupCode('utils_rb.src/M000008.html');return false;">
          <span class="method-name">select_best_encoding</span><span class="method-args">(available_encodings, accept_encoding)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000009" class="method-detail">
        <a name="M000009"></a>

        <div class="method-heading">
          <a href="utils_rb.src/M000009.html" target="Code" class="method-signature"
            onclick="popupCode('utils_rb.src/M000009.html');return false;">
          <span class="method-name">set_cookie_header!</span><span class="method-args">(header, key, value)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000017" class="method-detail">
        <a name="M000017"></a>

        <div class="method-heading">
          <a href="utils_rb.src/M000017.html" target="Code" class="method-signature"
            onclick="popupCode('utils_rb.src/M000017.html');return false;">
          <span class="method-name">status_code</span><span class="method-args">(status)</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>

Youez - 2016 - github.com/yon3zu
LinuXploit