
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Collects and stores your outgoing HTTP requests in NetNoop.requests for later inspection, usually in your test assertions or matchers.
Can be used in conjunction with FakeWeb to disable outbound HTTP requests while also making the contents of those requests visible.
url = URI.parse("http://www.example.com/")
req = Net::HTTP::Post.new(url.path)
res = Net::HTTP.start(url.host, url.port) {|http|
http.request(req, "Inspect this.")
}
NetNoop.requests
# => [#<NetNoop::Request:0x10052ba60 @method=:post, @uri="http://www.example.com/", @body="Inspect this.">]
NetNoop.requests.first
# => #<NetNoop::Request:0x10052ba60 @method=:post, @uri="http://www.example.com/", @body="Inspect this.">
NetNoop.request_map
# => {"http://www.example.com/"=>[#<NetNoop::Request:0x10052ba60 @method=:post, @uri="http://www.example.com/", @body="Inspect this.">]}
NetNoop.request_map["http://www.example.com/"].first
# => #<NetNoop::Request:0x10052ba60 @method=:post, @uri="http://www.example.com/", @body="Inspect this.">
Currently requires FakeWeb, although this dependency can likely be later removed.
Copyright (c) 2010 Michael Klett. See LICENSE for details.
FAQs
Unknown package
We found that netnoop 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
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.