Add your description here
Project description
ruquests
Usage
Calling HTTP methods (get, post, put, patch, delete) creates a request to be sent. When user wants to actually send it, it should call "send()" and it will return a response object which has the headers and the body of the response.
Simple usage example:
import ruquests
r = ruquests.get("http://google.com", headers={"accept": "text/html"}).send()
print(r.text())
Raising for invalid status code
import ruquests
r = ruquests.post("http://google.com").send()
r.raise_for_status()
Checking response headers
import ruquests
r = ruquests.get("http://google.com").send()
print(r.headers)
Checking status code
import ruquests
r = ruquests.get("http://google.com").send()
print(r.status_code)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ruquests-1.0.0.tar.gz.
File metadata
- Download URL: ruquests-1.0.0.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4e3da69f600bb571ad4a73ee19ec18adad2501ffc3dd8989f028fdffc6359c6
|
|
| MD5 |
f7e22dd8efb75bb22d0b223bc1dd1474
|
|
| BLAKE2b-256 |
321b3abd3e49515712ef97a95d69a1dc5a82a38d801f95cfc82d3930d496252a
|
File details
Details for the file ruquests-1.0.0-cp312-none-win_amd64.whl.
File metadata
- Download URL: ruquests-1.0.0-cp312-none-win_amd64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4e686bcca5ecfe2e65435b3ff5c1db5581c7aa43754144b2d212310c5d605f4
|
|
| MD5 |
def30a9e602486dc53a4b29606b58110
|
|
| BLAKE2b-256 |
d8112ce98cfe9a3edb09a548da638ece60ab6337bde563ea635b03c3d93b16ae
|
File details
Details for the file ruquests-1.0.0-cp312-cp312-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: ruquests-1.0.0-cp312-cp312-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.12, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99e5079558cf8d78c966426762bff3c944f1b8c3d7a9e022f969deb4fbf8c4ea
|
|
| MD5 |
1c3c80c6a69de66fc6ea27f268ea909d
|
|
| BLAKE2b-256 |
a0d45a1e30d46f753386ba6c1e9e224efbb95d051476893897f61aecd6f432d3
|