[SERVER-861] Use application/json for _status Created: 01/Apr/10  Updated: 12/Jul/16  Resolved: 01/Apr/10

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 1.4.1, 1.5.0

Type: Improvement Priority: Major - P3
Reporter: Michael Dirolf Assignee: Michael Dirolf
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File header.patch    
Participants:

 Comments   
Comment by Eliot Horowitz (Inactive) [ 26/Apr/10 ]

in a release

Comment by auto [ 01/Apr/10 ]

Author:

{'login': 'mdirolf', 'name': 'Mike Dirolf', 'email': 'mike@10gen.com'}

Message: use application/json for _status SERVER-861
http://github.com/mongodb/mongo/commit/a57baf1d0505012b045619e8a6ee0733c9f27fea

Comment by Flavio Percoco [ 01/Apr/10 ]

oh!! I'm sorry, I posted before I read your comment!!!

Thanks for fixing it

Comment by Flavio Percoco [ 01/Apr/10 ]

This should do the trick!!!

Hope this helps!!!

Comment by Michael Dirolf [ 01/Apr/10 ]

just changed _status for now. i think the built-in rest stuff uses text/plain but maybe open a separate case for changing that if you want it.

Comment by auto [ 01/Apr/10 ]

Author:

{'login': 'mdirolf', 'name': 'Mike Dirolf', 'email': 'mike@10gen.com'}

Message: use application/json for _status SERVER-861
http://github.com/mongodb/mongo/commit/2cc5eb12144a8912891ff1b8d5a9f432dcb9ffff

Comment by Flavio Percoco [ 01/Apr/10 ]

Thanks for pointing this out.

I would use application/json for all responses returning a json like object.

Thanks again.

Generated at Thu Feb 08 02:55:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.