rack-request_replication 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rack/request_replication/forwarder.rb +13 -0
- data/lib/rack/request_replication/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d25517c39a0513f9daab7c9f90bf24382974c08
|
4
|
+
data.tar.gz: d534c1b60e433347a4488144b64ac8f26eeefa40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0291e0558590cb8f6fa162370962659c1a3a52a9214853c0fec6f8a0c192611306f666b04fa28c44274ee149b5ac1bccd9ce080051c7e4d314dbaf3c88ecd802
|
7
|
+
data.tar.gz: b71351c30606ff5ca4a454f2525645a4b9a84f55ce14d0dea363fa3a2b180a2fb76257d21b4aae7796531e7791d6961fadbf51c26f71a6b35c534f6115f1d0e7
|
@@ -279,6 +279,19 @@ module Rack
|
|
279
279
|
Net::HTTP::Options.new uri.request_uri
|
280
280
|
end
|
281
281
|
|
282
|
+
##
|
283
|
+
# Prepare a PROPFIND request to the forward app.
|
284
|
+
#
|
285
|
+
# The passed in options hash is ignored.
|
286
|
+
#
|
287
|
+
# @param [URI] uri
|
288
|
+
# @param [Hash{Symbol => Object}] opts ({})
|
289
|
+
# @returns [Net:HTTP::Options]
|
290
|
+
#
|
291
|
+
def create_propfind_request( uri, opts = {} )
|
292
|
+
Net::HTTP::Propfind.new uri.request_uri
|
293
|
+
end
|
294
|
+
|
282
295
|
##
|
283
296
|
# Replicates all the options and data that was in
|
284
297
|
# the original request and puts them in a Hash.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-request_replication
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wouter de Vos
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|