
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
sphinxcontrib-httpexample
Advanced tools
.. image:: https://github.com/collective/sphinxcontrib-httpexample/actions/workflows/build.yml/badge.svg?branch=master :target: https://github.com/collective/sphinxcontrib-httpexample/actions
.. image:: https://coveralls.io/repos/github/collective/sphinxcontrib-httpexample/badge.svg?branch=master :target: https://coveralls.io/github/collective/sphinxcontrib-httpexample?branch=master
.. image:: https://badge.fury.io/py/sphinxcontrib-httpexample.svg :target: https://badge.fury.io/py/sphinxcontrib-httpexample
.. image:: https://readthedocs.org/projects/sphinxcontrib-httpexample/badge/?version=latest :target: http://sphinxcontrib-httpexample.readthedocs.io/en/latest
sphinxcontrib-httpexample enhances sphinxcontrib-httpdomain
_, a Sphinx domain extension for describing RESTful HTTP APIs in detail, with a simple call example directive. The new directive provided by this extension generates RESTful HTTP API call examples for different tools from a single HTTP request example.
The audience for this extension are developers and technical writes documenting their RESTful HTTP APIs. This extension has originally been developed for documenting plone.restapi
_.
.. _sphinxcontrib-httpdomain: https://pythonhosted.org/sphinxcontrib-httpdomain/ .. _plone.restapi: http://plonerestapi.readthedocs.org/
Directive for generating various RESTful HTTP API call examples from single HTTP request.
Supported tools:
.. _curl: https://curl.haxx.se/ .. _wget: https://www.gnu.org/software/wget/ .. _httpie: https://httpie.org/ .. _python-requests: http://docs.python-requests.org/
This extension has been used at least in the following documentations:
Full documentation for end users can be found in the "docs" folder. It is also available online at http://sphinxcontrib-httpexample.readthedocs.org/
Add sphinxcontrib-httpexample into requirements of your product documentation and into the configuration file of your Sphinx documentation next to sphincontrib-httpdomain as follows:
.. code:: python
extensions = ['sphinxcontrib.httpdomain', 'sphinxcontrib.httpexample']
The project is licensed under the GPLv2.
.. http:example-block::
to allow use with Sphinx tab libraries like
sphinx-inline-tabs <https://sphinx-inline-tabs.readthedocs.io/en/latest/>
_ or
sphinx-design <https://sphinx-design.readthedocs.io/en/furo-theme/tabs.html>
_.
[AWhetter]Add new HTTP example builder plone-javascript
[datakurre]
Fix tabbing to no longer depend on jQuery [datakurre]
Fix tabbing to support arrow key navigation [datakurre]
Fix tab key to stop at tab list only once [datakurre]
Fix requests builder to flatten simple values in form data [datakurre]
Fix requests builder to pass form data as dictionary [datakurre]
Change JavaScript-based tabbing to no longer require JQuery [datakurre]
Add support for inline response examples without HTTP version
(e.g. HTTP 200 OK
)
[datakurre]
Fix regression where support for reading request examples from external files was broken since 0.10.0 [datakurre]
Add support of the URL query parameters, using the query
field.
Given a line :query param_name: param_value
in an http example
directive, the key value pair param_name
, param_value
will be
added to the request URL (and excluded from further processing).
[ludaavics]
Example::
GET /items HTTP/1.1
Host: localhost
Accept: application/json
Authorization: Basic dXNlcjpwYXNzd29yZA==
:query from: 20170101
:query to: 20171231
:query user_id: 12
:query limit: 20
:query sort: date(asc)
Fix to not strip out Accept/Content-Type headers in builders [dokai]
Improve logic to detect a JSON content type [dokai]
Use redirected input to pass request payload to httpie [dokai]
Fix quoting of non-trivial HTTP headers in builders [dokai]
Change to use declarative packaging (setup.cfg instead of setup.py) [datakurre]
Allow the URL scheme (http or https) to be configured [dokai]
Quote the URL if it contains &
characters in curl/httpie/wget examples
[dokai]
Support non-json requests [jaroel]
Support application/json; charset=utf-8 [skyzyx]
FAQs
Adds example directive for sphinx-contrib httpdomain
We found that sphinxcontrib-httpexample demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.