Allows put request to overwrite content.

This is somewhat related to #300. A put request with plain text content
should be able to overwrite plain text content.
Merge pull request #306 from LearningLocker/issue-300

Allows put request to overwrite content.