Skip to main content

robocorp-http

We are deprecating the robocorp-http -library and recommend using requests -library directly.

requests is so widely used that just about any AI/LLM is able to provide you with the needed code so an extra wrapper from us is not needed.

import requests


def download_file(url, local_filename):
    response = requests.get(url)
    response.raise_for_status()  # this will raise an exception if the request fails
    with open(local_filename, 'wb') as stream:
        stream.write(response.content)  # write the content of the response to a file
    return local_filename

Note: requests -library is already included in robocorp -package.

Check out more under our Requests 3rd-party library documentation.

Metadata

Release files for robocorp-http 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for robocorp-http 0.4.1
File Size Uploaded
robocorp_http-0.4.1.tar.gz 2.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for robocorp-http 0.4.1
File Interpreter ABI Platform
robocorp_http-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.5 kB

Release files / robocorp_http-0.4.1.tar.gz

Download URL robocorp_http-0.4.1.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c16ca123201d08cc7684b7f2e3dc6208505d2ae0ff240b285a07d37399daaa95
BLAKE2b-256 checksum
How to use checksums
385a2cf22ee4d01d26d248e668cdfa7203747a77347778687bceaab564a91443
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1018-azure

Release files / robocorp_http-0.4.1-py3-none-any.whl

Download URL robocorp_http-0.4.1-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d83aaa67da3b36a43aa1e03dc2a7a448575e17b1dbaff896eae165add0cf55d
BLAKE2b-256 checksum
How to use checksums
6e5bc339a0e32f968e705c930d5f4683a3756ea26ad00e32501976884e9b96df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1018-azure

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.4.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page