[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: |
|
| 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 |
| 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 |
| 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. |