Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dap.responses.html

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dap.responses.html

Simple HTML form for pydap server

  • 0.1
  • PyPI
  • Socket score

Maintainers
1

This is a simple HTML response, building a form to download data in ASCII format. The response builds the HTML page and redirects the user to the ASCII response when a POST is done.

Even though pydap uses Cheetah for templating, I decided to use a templating engine called templess for this response. Templess is lightweight (~25k) and fun to work with, justifying the choice.

A nice thing about the response is that the redirection to the ASCII response and the error message when no variable is selected are both done by raising exceptions. These exceptions are not captured by the server, that allows them to be captured by the Paste#httpexceptions middleware.

If you use this response, don't forget to edit the template file and add a link pointing to the HTML response when clicking a filename.

The latest version is available in a Subversion repository <http://pydap.googlecode.com/svn/trunk/responses/html#egg=dap.responses.html-dev>_.

Keywords

FAQs


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