Permalink
Browse files

Correct capitalization of Content-Type header

  • Loading branch information...
1 parent 051f73c commit c48a265419218c0a3f6b87d774747e07b1e57e3b @boriseetgerink boriseetgerink 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 c48a265

Please sign in to comment.