abujehad139 / google-api-go-client

Automatically exported from code.google.com/p/google-api-go-client
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

HTTP headers for .go suggest save-to-disk binary downloaded #36

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The HTTP headers for a .go cause this browser to want to save it to disk
whereas a .json, for example, can be opened with an application.
Extracts from "curl -sSI":

    http://google-api-go-client.googlecode.com/hg/urlshortener/v1/urlshortener-api.json
        Content-Type: application/json; charset=ISO-8859-1
        Content-Disposition: attachment

    http://google-api-go-client.googlecode.com/hg/urlshortener/v1/urlshortener-gen.go
        Content-Type: application/octet-stream

Assuming it's a project-configuration issue, I'm opening it on 
google-api-go-client.

Original issue reported on code.google.com by ralph.co...@gmail.com on 28 Jul 2013 at 10:08