guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

31/40: gnu: Add Plack-Middleware-RemoveRedundantBody.


From: Eric Bavier
Subject: 31/40: gnu: Add Plack-Middleware-RemoveRedundantBody.
Date: Thu, 12 Mar 2015 20:56:10 +0000

bavier pushed a commit to branch master
in repository guix.

commit 13e330be236f4d29bf8774fc64dfbd4ddcf0aa5f
Author: Eric Bavier <address@hidden>
Date:   Thu Mar 12 12:53:22 2015 -0500

    gnu: Add Plack-Middleware-RemoveRedundantBody.
    
    * gnu/packages/web.scm (perl-plack-middleware-removeredundantbody):
      New variable.
---
 gnu/packages/web.scm |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index b336cc2..d41ddcc 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -1146,6 +1146,29 @@ request, or a query parameter named x-tunneled-method to 
the URI, the client
 can say what method it actually meant.")
     (license (package-license perl))))
 
+(define-public perl-plack-middleware-removeredundantbody
+  (package
+    (name "perl-plack-middleware-removeredundantbody")
+    (version "0.05")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/S/SW/SWEETKID/"
+                           "Plack-Middleware-RemoveRedundantBody-"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "1n3wm0zi8dnk54jx937asl951lslj3jvw0fry4jpzsibg4f6wrx0"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-plack" ,perl-plack)))
+    (home-page
+     "http://search.cpan.org/dist/Plack-Middleware-RemoveRedundantBody";)
+    (synopsis "Plack::Middleware which removes body for HTTP response")
+    (description "This module removes the body in an HTTP response if it's not
+required.")
+    (license (package-license perl))))
+
 (define-public perl-test-tcp
   (package
     (name "perl-test-tcp")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]