Skip to content

tomdmaguire/rack-replace-http-accept

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rack Replace HTTP Accept

Example usage:

use Rack::ReplaceHttpAccept, /application\/vnd\.mycompany\.myapp-v[0-9]+\+json/ => 'application/json',
                             /application\/vnd\.mycompany\.myapp-v[0-9]+\+xml/  => 'application/xml'

About

Rack adapter used to modify HTTP Accept header

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages