Code Monkey home page Code Monkey logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 4, 2024
There is no builtin way to do this.  The default output type is controlled by 
the order of the list on line 
http://code.google.com/p/appengine-rest-server/source/browse/trunk/src/main/pyth
on/rest/__init__.py#1627 .  the last value in the last is the default if no 
output format is specified by the caller.

Original comment by [email protected] on 29 Nov 2010 at 1:39

  • Changed title: allow to use application/json as default input and output
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from appengine-rest-server.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 4, 2024
This issue was closed by revision r57.

Original comment by [email protected] on 25 Mar 2011 at 6:40

  • Changed state: Fixed

from appengine-rest-server.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 4, 2024

Original comment by [email protected] on 6 Jun 2012 at 1:10

  • Added labels: Milestone-Release-1.0.5

from appengine-rest-server.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 4, 2024
I tried this. I switched the order around, but it didn't seem to work> What did 
work ws to remove the XML content type entirely, I did note that their are two 
versions that are in opposite. Web-app and Web-app2.

Original comment by [email protected] on 11 Nov 2012 at 9:26

from appengine-rest-server.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 4, 2024
I would like to remove xml entirely as well, could you point to the parts of 
the code you took, out, i can't really understand what is going on inside.
Thanks

Original comment by [email protected] on 1 Jun 2013 at 10:25

from appengine-rest-server.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 4, 2024
Just add this to your setup script:

rest.Dispatcher.output_content_types = [JSON_CONTENT_TYPE]

Original comment by [email protected] on 2 Jun 2013 at 12:57

from appengine-rest-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.