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

em-http-request-webdav

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

em-http-request-webdav

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Summary

Simple wrapper for EM::HttpRequest.

Adds basic support for the following HTTP methods used by WebDAV-enabled webservers:

PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, UNLOCK, OPTIONS

Example

EM.run do
  http = EM::HttpRequest.new("http://some.davserver.foo/path").propfind :head => {"Depth": "1", "Authorization": ["harry", "b4lz3r"]}
  http.callback { 
    puts http.response
  }
end

Caveats

The provided methods don't add support for any WebDAV fanciness. You are required to provide additional functionality to list files, change properties, move things around or travel backwards in time.

Warnings

Do not use near eyes. If ingested, call you physician.

Errata

Follow me @scottburton

License

This software is available via the MIT License, and is copyright 2011 by Scott Burton.

FAQs

Package last updated on 01 Oct 2011

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