| Server IP : 109.234.162.214 / Your IP : 216.73.216.112 Web Server : Apache System : Linux servd162214.srv.odns.fr 4.18.0-372.26.1.lve.1.el8.x86_64 #1 SMP Fri Sep 16 14:08:19 EDT 2022 x86_64 User : carpe ( 1178) PHP Version : 8.0.30 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/ri/Rack/Multipart/ |
Upload File : |
--- !ruby/object:RI::ClassDescription
attributes: []
class_methods:
- !ruby/object:RI::MethodSummary
name: build_multipart
- !ruby/object:RI::MethodSummary
name: parse_multipart
comment:
- !ruby/struct:SM::Flow::P
body: A multipart form data parser, adapted from IOWA.
- !ruby/struct:SM::Flow::P
body: Usually, Rack::Request#POST takes care of calling this.
constants:
- !ruby/object:RI::Constant
comment:
name: EOL
value: "\"\\r\\n\""
- !ruby/object:RI::Constant
comment:
name: MULTIPART_BOUNDARY
value: "\"AaB03x\""
- !ruby/object:RI::Constant
comment:
name: MULTIPART
value: "%r|\\Amultipart/.*boundary=\\\"?([^\\\";,]+)\\\"?|ni"
- !ruby/object:RI::Constant
comment:
name: TOKEN
value: /[^\s()<>,;:\\"\/\[\]?=]+/
- !ruby/object:RI::Constant
comment:
name: CONDISP
value: /Content-Disposition:\s*#{TOKEN}\s*/i
- !ruby/object:RI::Constant
comment:
name: DISPPARM
value: /;\s*(#{TOKEN})=("(?:\\"|[^"])*"|#{TOKEN})/
- !ruby/object:RI::Constant
comment:
name: RFC2183
value: /^#{CONDISP}(#{DISPPARM})+$/i
- !ruby/object:RI::Constant
comment:
name: BROKEN_QUOTED
value: /^#{CONDISP}.*;\sfilename="(.*?)"(?:\s*$|\s*;\s*#{TOKEN}=)/i
- !ruby/object:RI::Constant
comment:
name: BROKEN_UNQUOTED
value: /^#{CONDISP}.*;\sfilename=(#{TOKEN})/i
- !ruby/object:RI::Constant
comment:
name: MULTIPART_CONTENT_TYPE
value: "/Content-Type: (.*)#{EOL}/ni"
- !ruby/object:RI::Constant
comment:
name: MULTIPART_CONTENT_DISPOSITION
value: /Content-Disposition:.*\s+name="?([^\";]*)"?/ni
- !ruby/object:RI::Constant
comment:
name: MULTIPART_CONTENT_ID
value: /Content-ID:\s*([^#{EOL}]*)/ni
full_name: Rack::Multipart
includes: []
instance_methods: []
name: Multipart
superclass: