mirror of
https://github.com/kennethreitz/httpbin.git
synced 2026-06-05 23:00:18 +00:00
@@ -12,10 +12,7 @@ import json
|
||||
import os
|
||||
import time
|
||||
|
||||
import newrelic.agent
|
||||
|
||||
from flask import Flask, Response, request, render_template, redirect, jsonify, make_response
|
||||
from raven.contrib.flask import Sentry
|
||||
from werkzeug.datastructures import WWWAuthenticate
|
||||
|
||||
from . import filters
|
||||
@@ -36,10 +33,6 @@ ENV_COOKIES = (
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
# Setup error collection
|
||||
sentry = Sentry(app)
|
||||
newrelic.agent.initialize()
|
||||
|
||||
# ------
|
||||
# Routes
|
||||
# ------
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ This module provides helper functions for httpbin.
|
||||
"""
|
||||
|
||||
import base64
|
||||
import simplejson as json
|
||||
import json
|
||||
from hashlib import md5
|
||||
from werkzeug.http import parse_authorization_header
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ httpbin.runner
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
This module serves as a command-line runner for httpbin, powered by
|
||||
gunicorn.
|
||||
gevent.
|
||||
|
||||
"""
|
||||
|
||||
|
||||
@@ -2,15 +2,9 @@ Flask==0.8
|
||||
Flask-Script==0.3.1
|
||||
Jinja2==2.5.5
|
||||
Werkzeug==0.8.1
|
||||
argparse==1.2.1
|
||||
blinker==1.2
|
||||
decorator==3.3.2
|
||||
distribute==0.6.15
|
||||
eventlet==0.9.16
|
||||
greenlet==0.3.1
|
||||
gunicorn==0.13.4
|
||||
newrelic==1.2.1.265
|
||||
raven==1.9.3
|
||||
simplejson==2.4.0
|
||||
wsgiref==0.1.2
|
||||
gevent
|
||||
Reference in New Issue
Block a user