Permalink
Browse files

Merge pull request #72 from boriseetgerink/custom-content-type-fix

Correct capitalization of Content-Type header
  • Loading branch information...
2 parents 051f73c + c48a265 commit 8751a5ff8ca6d84badd16ed630750b5194272012 @jaytaph jaytaph committed on GitHub Aug 8, 2016
Showing with 3 additions and 3 deletions.
  1. +3 −3 _posts/2012-12-13-using-custom-content-types.html
@@ -11,9 +11,9 @@ <h2 class="question">How can I create my own custom content-types that are repre
<p>Do not use a standard text/xml content-type. A client is not capable of handling this kind of information. Instead, use a custom format in the following form:</p>
{% highlight xml %}
-Content-type: application/vnd+company.category+xml
-Content-type: application/vnd+company.category+html
-Content-type: application/vnd+company.category+json
+Content-Type: application/vnd+company.category+xml
+Content-Type: application/vnd+company.category+html
+Content-Type: application/vnd+company.category+json
{% endhighlight %}
<p>This allows your clients to process the information (in this case: your categories) as the specified content-type. All three of these content-types are categories,

0 comments on commit 8751a5f

Please sign in to comment.