Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A django app that repeats one http POST into several.

Project Description

=====
requestrepeat
=====

A Django app that will receive a web POST request and
resend that same POST to several servers.

Quick start
-----------

1. Add "requestrepeat" to your INSTALLED_APPS setting like this::

```
INSTALLED_APPS = (
...
'requestrepeat',
)
```

2. Add some code

Usage:
```
repeat(request,addresses=("http://my.first.url.com/ipn", "http://my.second.url.com/ipn/"))
```

Example:
```
urls.py
url("^repeater/$", 'requestrepeat.views.listener', name='listener'),

views.py

@csrf_exempt
def listener(request):
return repeat(request,addresses=("http://127.0.0.4:8000", "http://127.0.0.6:8000"))
```
3. Send a POST request with data to http://127.0.0.1:8000/repeater/ replicate that post to several urls.

Release History

This version
History Node

0.5

History Node

0.4

History Node

0.2

History Node

0.1

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
django-requestrepeat-0.5.tar.gz
(3.1 kB) Copy SHA256 Hash SHA256
Source None Feb 3, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting