/
usr
/
share
/
doc
/
python3-pycurl
/
doc
/
docstrings
/
/usr/share/doc/python3-pycurl/doc/docstrings
mkdir
upload
Name
Size
Mode
Actions
curl.rst
377
0644
edit
dl
rm
curl_close.rst
319
0644
edit
dl
rm
curl_errstr.rst
465
0644
edit
dl
rm
curl_errstr_raw.rst
444
0644
edit
dl
rm
curl_getinfo.rst
3249
0644
edit
dl
rm
curl_getinfo_raw.rst
3077
0644
edit
dl
rm
curl_pause.rst
398
0644
edit
dl
rm
curl_perform.rst
220
0644
edit
dl
rm
curl_perform_rb.rst
699
0644
edit
dl
rm
curl_perform_rs.rst
1091
0644
edit
dl
rm
curl_reset.rst
276
0644
edit
dl
rm
curl_setopt.rst
4591
0644
edit
dl
rm
curl_setopt_string.rst
1236
0644
edit
dl
rm
curl_set_ca_certs.rst
144
0644
edit
dl
rm
curl_unsetopt.rst
599
0644
edit
dl
rm
multi.rst
126
0644
edit
dl
rm
multi_add_handle.rst
522
0644
edit
dl
rm
multi_assign.rst
267
0644
edit
dl
rm
multi_close.rst
291
0644
edit
dl
rm
multi_fdset.rst
900
0644
edit
dl
rm
multi_info_read.rst
695
0644
edit
dl
rm
multi_perform.rst
201
0644
edit
dl
rm
multi_remove_handle.rst
435
0644
edit
dl
rm
multi_select.rst
734
0644
edit
dl
rm
multi_setopt.rst
1438
0644
edit
dl
rm
multi_socket_action.rst
293
0644
edit
dl
rm
multi_socket_all.rst
123
0644
edit
dl
rm
multi_timeout.rst
202
0644
edit
dl
rm
pycurl_global_cleanup.rst
185
0644
edit
dl
rm
pycurl_global_init.rst
321
0644
edit
dl
rm
pycurl_module.rst
414
0644
edit
dl
rm
pycurl_version_info.rst
656
0644
edit
dl
rm
share.rst
234
0644
edit
dl
rm
share_close.rst
313
0644
edit
dl
rm
share_setopt.rst
765
0644
edit
dl
rm
Edit:
/usr/share/doc/python3-pycurl/doc/docstrings/curl_perform_rb.rst
(699B)
perform_rb() -> response_body Perform a file transfer and return response body as a byte string. This method arranges for response body to be saved in a StringIO (Python 2) or BytesIO (Python 3) instance, then invokes :ref:`perform <perform>` to perform the file transfer, then returns the value of the StringIO/BytesIO instance which is a ``str`` instance on Python 2 and ``bytes`` instance on Python 3. Errors during transfer raise ``pycurl.error`` exceptions just like in :ref:`perform <perform>`. Use :ref:`perform_rs <perform_rs>` to retrieve response body as a string (``str`` instance on both Python 2 and 3). Raises ``pycurl.error`` exception upon failure. *Added in version 7.43.0.2.*
Save
cmd:
run