Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Provides a Q promise API for HTTP requests and responses. This should resemble JSGI and its hypothetical inverse, but I haven't pored through the specification to ensure this.
The API
Server(respond(request):Response*)
listen(port:Number):Undefined*
stop():Undefined*
Client(port:Number, host:String)
request(request:Request):Response*
request(request:Request):Response*
Request:Object
version:Array HTTP version
scheme:String e.g., "http"
method:String e.g., "GET"
host:String
port:Number
remoteHost:String
remotePort:Number
scriptName:String the routed portion
of the path, e.g., "" for the
root document
pathInfo:String the part of the path
that remains to be routed, e.g.,
"/" for the root document
path:String the full path, regardless of routing
url:String the full URL, regardless of routing
headers:Object
body*
forEach(write(String*)):Undefined*
nodeRequest
nodeConnection
Response:Object
status:Number
headers:Object
body*
forEach(write(String*)):Undefined*
onClose:Function?
Conventions
`*` indicates that a value may be a promise
`?` indicates optional
`||` indicates a default
Copyright 2009, 2010 Kristopher Michael Kowal MIT License (enclosed)
FAQs
Q promise based HTTP client and server interface
We found that q-http demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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 digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.