Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Corrected preferredMediaType in readme #6

Merged
merged 1 commit into from

2 participants

@RubenVerborgh

Corrected minor mistake in readme file.

@federomero federomero merged commit 5f25686 into jshttp:master
@federomero
Owner

Thanks Ruben!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 11, 2012
  1. @RubenVerborgh
This page is out of date. Refresh to see the latest.
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`.
Something went wrong with that request. Please try again.