cgi.FieldStorage.__init__

FieldStorage.__init__(fp=None, headers=None, outerboundary='', environ={'USER': 'takanori', 'MDMSESSION': 'default', 'CUDA_ROOT': '/usr/local/cuda-6.5', 'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', 'BLAS': '/usr/local/lib/libopenblas.a', 'WINDOWPATH': '8', 'XDG_CURRENT_DESKTOP': 'X-Cinnamon', 'MDM_LANG': 'en_US.UTF-8', 'LOGNAME': 'takanori', 'WINDOWID': '44040199', 'HOME': '/home/takanori', 'XDG_VTNR': '8', 'PATH': '/usr/local/bin/protoc:/usr/local/cuda-6.5/bin:/home/takanori/anaconda2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/takanori/mybin/Slicer-4.4.0-linux-amd64:/home/takanori/mybin/ImageJ:/home/takanori/mybin/itksnap-3.2.0-20141023-Linux-x86_64/bin/:/usr/local/cuda-6.5/bin:/usr/local/MATLAB/R2013a/bin:/home/takanori/abin:/home/takanori/mybin/spark-2.0.0-bin-hadoop2.7/bin', 'DISPLAY': ':0', 'GNOME_KEYRING_CONTROL': '/run/user/1000/keyring-fD3h3R', 'SSH_AGENT_PID': '2171', 'XDG_SESSION_DESKTOP': 'default', 'GLPATH': '/usr/lib', 'SHELL': '/bin/bash', 'XAUTHORITY': '/home/takanori/.Xauthority', 'SESSION_MANAGER': 'local/sbia-pc125:@/tmp/.ICE-unix/2099, unix/sbia-pc125:/tmp/.ICE-unix/2099', 'XDG_DATA_DIRS': '/usr/share/default:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/', 'MANDATORY_PATH': '/usr/share/gconf/default.mandatory.path', 'LD_LIBRARY_PATH': '/usr/local/cuda-6.5/lib64::/usr/local/cuda-6.5/lib64:/usr/local/lib/:/home/takanori/work-local/external-python-modules/deepnet/cudamat', 'QT4_IM_MODULE': 'ibus', 'CLUTTER_IM_MODULE': 'ibus', 'TEXTDOMAIN': 'im-config', 'MAKEFLAGS': '', 'XMODIFIERS': '@im=ibus', 'GPG_AGENT_INFO': '/run/user/1000/keyring-fD3h3R/gpg:0:1', 'MFLAGS': '', 'GJS_DEBUG_OUTPUT': 'stderr', 'USERNAME': 'takanori', 'LANG': 'en_US.UTF-8', 'MAKELEVEL': '1', 'GDM_XSERVER_LOCATION': 'local', 'XDG_RUNTIME_DIR': '/run/user/1000', 'PYTHONPATH': '/home/takanori/Dropbox/work/external-pymodules:/home/takanori/Dropbox/work/sbia_work/python/modules:/home/takanori/mybin/spark-2.0.0-bin-hadoop2.7/python/:/home/takanori/mybin/spark-2.0.0-bin-hadoop2.7/python/pyspark:/home/takanori/work-local/external-python-modules/deepnet', 'SSH_AUTH_SOCK': '/run/user/1000/keyring-fD3h3R/ssh', 'CINNAMON_VERSION': '2.4.8', 'VTE_VERSION': '3409', 'LAPACK': '/usr/local/lib/libopenblas.a', 'GDMSESSION': 'default', 'DEFAULTS_PATH': '/usr/share/gconf/default.default.path', 'TEXTDOMAINDIR': '/usr/share/locale/', 'CUDA_LIB': '/usr/local/cuda-6.5/lib64', 'XDG_SESSION_ID': 'c3', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-uhQH3h8rNO, guid=4d3c4a2a197ad9665a33dac357d1df99', '_': '/usr/bin/make', 'XDG_SESSION_COOKIE': '847450ed610f378d43494f74556f7791-1473372056.629708-1146499138', 'GTK_IM_MODULE': 'ibus', 'DESKTOP_SESSION': 'default', 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-default:/etc/xdg', 'GNOME_KEYRING_PID': '2089', 'TERM': 'xterm', 'MDM_XSERVER_LOCATION': 'local', 'SHLVL': '2', 'PWD': '/home/takanori/git_local/python_stl', 'QT_IM_MODULE': 'ibus', 'COLORTERM': 'gnome-terminal', 'CUDA_BIN': '/usr/local/cuda-6.5/bin', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:', 'GJS_DEBUG_TOPICS': 'JS ERROR;JS LOG', 'XDG_SEAT': 'seat0'}, keep_blank_values=0, strict_parsing=0)[source]

Constructor. Read multipart/* until last part.

Arguments, all optional:

fp : file pointer; default: sys.stdin
(not used when the request method is GET)
headers : header dictionary-like object; default:
taken from environ as per CGI spec
outerboundary : terminating multipart boundary
(for internal use only)

environ : environment dictionary; default: os.environ

keep_blank_values: flag indicating whether blank values in
percent-encoded forms should be treated as blank strings. A true value indicates that blanks should be retained as blank strings. The default false value indicates that blank values are to be ignored and treated as if they were not included.
strict_parsing: flag indicating what to do with parsing errors.
If false (the default), errors are silently ignored. If true, errors raise a ValueError exception.