![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@shopmacher/digest-auth-request
Advanced tools
Make digest-auth requests with vanilla javascript
Make digest-auth ajax requests with javascript. Only depency is CryptoJS MD5.
More info on Digest Auth: http://en.wikipedia.org/wiki/Digest_access_authentication Currently only supports "auth" quality-of-protection type.
GET request:
var url = 'http://example.com/protected-resource';
// create digest request object
var getRequest = new digestAuthRequest('GET', url, 'username', 'password');
// make the request
getRequest.request(function(data) {
// success callback
// do something with the data
},function(errorCode) {
// error callback
// tell user request failed
});
// make additional GET requests here...
POST request:
var postData = {
address: '123 main st.',
city: 'Denver',
state: 'Colorado'
}
// create new digest request object
// because method (POST vs GET) is different
// otherwise we could re-use the first one
var postReq = new digestAuthRequest('POST', url, 'username', 'password');
postReq.request(function(data) {
// success callback
// data probably a success message
},function(errorCode) {
// error callback
// tell user request failed
}, postData);
Out of the box digestAuthRequest.js has logging turned on so you can debug. Set loggingOn
to false to disable it.
digestAuthRequest.js
in the rootyarn build
or simply gulp
.FAQs
Make digest-auth requests with vanilla javascript
The npm package @shopmacher/digest-auth-request receives a total of 2 weekly downloads. As such, @shopmacher/digest-auth-request popularity was classified as not popular.
We found that @shopmacher/digest-auth-request demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.