/usr/share/doc/python3-pycurl/doc/docstrings
NameSizeModeActions
curl.rst3770644editdlrm
curl_close.rst3190644editdlrm
curl_errstr.rst4650644editdlrm
curl_errstr_raw.rst4440644editdlrm
curl_getinfo.rst32490644editdlrm
curl_getinfo_raw.rst30770644editdlrm
curl_pause.rst3980644editdlrm
curl_perform.rst2200644editdlrm
curl_perform_rb.rst6990644editdlrm
curl_perform_rs.rst10910644editdlrm
curl_reset.rst2760644editdlrm
curl_setopt.rst45910644editdlrm
curl_setopt_string.rst12360644editdlrm
curl_set_ca_certs.rst1440644editdlrm
curl_unsetopt.rst5990644editdlrm
multi.rst1260644editdlrm
multi_add_handle.rst5220644editdlrm
multi_assign.rst2670644editdlrm
multi_close.rst2910644editdlrm
multi_fdset.rst9000644editdlrm
multi_info_read.rst6950644editdlrm
multi_perform.rst2010644editdlrm
multi_remove_handle.rst4350644editdlrm
multi_select.rst7340644editdlrm
multi_setopt.rst14380644editdlrm
multi_socket_action.rst2930644editdlrm
multi_socket_all.rst1230644editdlrm
multi_timeout.rst2020644editdlrm
pycurl_global_cleanup.rst1850644editdlrm
pycurl_global_init.rst3210644editdlrm
pycurl_module.rst4140644editdlrm
pycurl_version_info.rst6560644editdlrm
share.rst2340644editdlrm
share_close.rst3130644editdlrm
share_setopt.rst7650644editdlrm
Edit: /usr/share/doc/python3-pycurl/doc/docstrings/curl_perform_rs.rst (1091B)
perform_rs() -> response_body Perform a file transfer and return response body as a string. On Python 2, this method arranges for response body to be saved in a StringIO instance, then invokes :ref:`perform ` to perform the file transfer, then returns the value of the StringIO instance. This behavior is identical to :ref:`perform_rb `. On Python 3, this method arranges for response body to be saved in a BytesIO instance, then invokes :ref:`perform ` to perform the file transfer, then decodes the response body in Python's default encoding and returns the decoded body as a Unicode string (``str`` instance). *Note:* decoding happens after the transfer finishes, thus an encoding error implies the transfer/network operation succeeded. Any transfer errors raise ``pycurl.error`` exception, just like in :ref:`perform `. Use :ref:`perform_rb ` to retrieve response body as a byte string (``bytes`` instance on Python 3) without attempting to decode it. Raises ``pycurl.error`` exception upon failure. *Added in version 7.43.0.2.*