Skip to content

Commit

Permalink
Merge pull request #10 from zvelo/feature/122225855_michaeltrobinson_…
Browse files Browse the repository at this point in the history
…add_content_query_content-type_to_msg

add content query content-type to msg
  • Loading branch information
sbogacz committed Jul 1, 2016
2 parents 1560fd0 + ed5e3ce commit c57bd08
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2016-06-24 Michael Robinson <mrobinson@zvelo.com>

* Start feature "add content query content-type to msg"
https://www.pivotaltracker.com/story/show/122225855
https://github.com/zvelo/msg/pull/10

2016-05-13 Bob Uhl <buhl@zvelo.com>

* Start feature "Create messages for zNouns &amp; zSent datasets"
Expand Down
14 changes: 8 additions & 6 deletions content_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ package msg

/* Constants indicating the HTTP Content-type for each proto/json type in this package */
const (
QueryContentType string = "application/vnd.zvelo.query"
QueryContentTypeJSON string = "application/vnd.zvelo.query+json"
QueryReplyContentType string = "application/vnd.zvelo.query-reply"
QueryReplyContentTypeJSON string = "application/vnd.zvelo.query-reply+json"
QueryResultContentType string = "application/vnd.zvelo.query-result"
QueryResultContentTypeJSON string = "application/vnd.zvelo.query-result+json"
QueryContentType string = "application/vnd.zvelo.query"
QueryContentTypeJSON string = "application/vnd.zvelo.query+json"
ContentQueryContentType string = "application/vnd.zvelo.content-query"
ContentQueryContentTypeJSON string = "application/vnd.zvelo.content-query+json"
QueryReplyContentType string = "application/vnd.zvelo.query-reply"
QueryReplyContentTypeJSON string = "application/vnd.zvelo.query-reply+json"
QueryResultContentType string = "application/vnd.zvelo.query-result"
QueryResultContentTypeJSON string = "application/vnd.zvelo.query-result+json"

StreamResultsContentType string = "application/vnd.zvelo.stream-results"
StreamResultsContentTypeJSON string = "application/vnd.zvelo.stream-results+json"
Expand Down

0 comments on commit c57bd08

Please sign in to comment.