Commit 6e970d01 authored by J. Fernando Sánchez's avatar J. Fernando Sánchez
Browse files

Merge branch '21-ascii-cant-encode' into 0.8.x

parents 1d0a54ec d7e115d7
......@@ -25,6 +25,7 @@ from .version import __version__
from functools import wraps
import logging
import json
logger = logging.getLogger(__name__)
......@@ -74,7 +75,7 @@ def basic_api(f):
def decorated_function(*args, **kwargs):
raw_params = get_params(request)
headers = {'X-ORIGINAL-PARAMS': raw_params}
headers = {'X-ORIGINAL-PARAMS': json.dumps(raw_params)}
# Get defaults
web_params = parse_params({}, spec=WEB_PARAMS)
api_params = parse_params({}, spec=API_PARAMS)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment