intridea/grape — pull request #144 by rodzyn (2012-02-14 21:43:08+00:00)
Title: Accept header strict

Hey,

I was a bit confused about header versioning (for example #133) and I thought maybe it should be more strict.
When no Accept is passed like
```
curl http://localhost:9292/hello
```
I had default value `*/*` of accept header, so condition:
```
(accept.nil? || accept.empty?)
```
was never true.

BTW.
Test case covered only this scenario:
```
curl -H "Accept: " http://localhost:9292/hello
```
I've added few more tests.