New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

httpdd

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

httpdd

HTTP Decision Diagram

  • 4.0.201309
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

http-decision-diagram

An activity diagram to describe the resolution of HTTP response status codes, given various headers, implemented via semantical callbacks.

This is part of a bigger effort Forget HTTP.

And it goes on Twitter as #httpdd - HTTP Decision Diagram.

This is a follow-up/fork of Alan Dean's http-headers-status.

Why, why, why

Why is this helpful?

Watch Webmachine: Focus on Resources - Sean Cribbs from Øredev Conference on Vimeo.

Sean also has a good rundown of why an FSM is a good match for a protocol specification/implementation.

Goal

This repository's goal is to build on previous work, and set a "reference" in terms of a HTTP decision diagram and necessary callbacks.

In doing so, we take a snapshot of the current Webmachine callbacks that are linked to Alan Dean's http-headers-status, and trying to do constructive criticism and addressing outstanding issues

  • in a v4 diagram
  • by adding/modifying Webmachine's callbacks
  • with clear definitions of the steps/logic implied by the callbacks
  • with a diagram described as FSM thanks to Cosmogol, with a JSON AST export.

Take it also as a process of gaining context, while the existing callbacks and the existing diagram may be spot on.

Kudos to

Others

License

Apache 2.0

Keywords

FAQs

Package last updated on 30 Oct 2013

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc