content_disposition bug

The content_disposition can be nil which will break the downloading .