Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Corrected preferredMediaType in readme.

  • Loading branch information...
commit cebaa8cf670f4ddd78a789e1775713ce6f891889 1 parent 0eb622c
@RubenVerborgh RubenVerborgh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  readme.md
View
2  readme.md
@@ -19,7 +19,7 @@ An HTTP content negotiator for node.js written in javascript.
negotiator.preferredMediaTypes(availableMediaTypes)
// -> ['text/html', 'application.json']
- negotiator.preferredLanguage(availableMediaTypes)
+ negotiator.preferredMediaType(availableMediaTypes)
// -> 'text/html'
You can check a working example at `examples/accept.js`.
Please sign in to comment.
Something went wrong with that request. Please try again.