# Path: duckpond/apps/editor/app.py
# def before_request():


import json, os, io
from flask import make_response, request, Response, stream_with_context, abort
from .app import app
from . import model

def jsonld_response(data):
   response = make_response(data)
   response.headers['Content-Type'] = "application/ld+json; charset=utf-8"
   return response


# Path: duckpond/apps/editor/app.py
# def before_request():


# Path: duckpond/apps/editor/api.py
import json, os, io
from flask import make_response, request, Response, stream_with_context, abort
from .app import app
from . import model


def jsonld_response(data):
   response = make_response(data)
   response.headers['Content-Type'] = "application/ld+json; charset=utf-8"
   return response


@app.route('/data/content/',methods=['GET','POST'])