Comments (5)
Thanks, I'll take a look at making this package compatible with httpx. The first step would be to write a test case.
The reason you're not seeing body
is that it's an attribute of PreparedRequest, not Request. The auth helper plugin operates on PreparedRequest.
from requests-http-signature.
(Reference: https://requests.readthedocs.io/en/latest/api/#requests.PreparedRequest)
from requests-http-signature.
Right, thanks for the clarification. AFAIK, httpx has no notion of a prepared request. But I guess that should not be a problem.
from requests-http-signature.
It looks like the httpx auth protocol is substantially different and will require a new package. Supporting httpx is outside the scope of this package, but can be accommodated by a new package in the pyauth project.
https://github.com/encode/httpx/blob/master/httpx/_auth.py
from requests-http-signature.
Thanks for looking into that. So httpx and Requests are not as compatible as advertised. I'll get back to using Requests then for the moment.
from requests-http-signature.
Related Issues (19)
- HTTPSignatureAuth.verify does not validate the request body HOT 1
- HTTPSignatureAuth.verify does not parse Authentication header correctly HOT 1
- HTTPSignatureAuth modifies `self` preventing reuse HOT 4
- Voice implementer support for HTTP Signatures in IETF HTTP WG HOT 3
- CryptographyDeprecationWarning
- A couple feature proposals (willing to implement, but want feedback first) HOT 7
- Add HTTPSignatureHeaderAuth.verify() HOT 2
- New release HOT 4
- Another release HOT 3
- Document and test response verification
- HTTPSignatureAuth initialization not updated in README.rst file
- Link to empty Flask-http-signature repo?
- Address multiple field value header security discussion in draft 11
- default code example key > value not byte array HOT 3
- Asymmetric key full example HOT 3
- Cannot verify "host" with HTTPSignatureAuth HOT 1
- Python's assert can be disabled HOT 3
- HTTPSignatureAuth.verify does not support required headers HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from requests-http-signature.