Skip to content
This repository has been archived by the owner on Feb 1, 2018. It is now read-only.
/ content-negotiation Public archive

This Rails plugin adds convenience methods for content negotiation to ActionController::Base

License

Notifications You must be signed in to change notification settings

awendt/content-negotiation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

content-negotiation
===================

This Rails plugin adds convenience methods for content negotiation to ActionController::Base

Within your controllers, use client_accepted_languages to determine
the HTTP_ACCEPT_LANGUAGE header sent by the client.

It calls the (memoized) parse_http_accept_language_header in turn.

Copyright (c) 2009 André Wendt, released under the MIT license

About

This Rails plugin adds convenience methods for content negotiation to ActionController::Base

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages