Created
          February 11, 2014 17:24 
        
      - 
      
- 
        Save rossmounce/8939587 to your computer and use it in GitHub Desktop. 
    Content Negotiation, example of Internal Server Error
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | curl -g --location --header 'Accept: application/x-bibtex' "http://dx.doi.org/10.1651/0278-0372(2005)025[0159:GR]2.0.CO;2" > test.txt | |
| RETURNS | |
| <h1>Internal Server Error</h1> | |
| (I've encountered about 91 DOIs that appear to give this error) | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Prob is with bibtex transform. Other representations should work. See below. Rewritten proxy will be out on Friday that fixes bibtex issues.
curl -g --location --header 'Accept: application/vnd.crossref.unixref+xml' "http://dx.doi.org/10.1651/0278-0372(2005)025[0159:GR]2.0.CO;2" > text.txt