Do I need to specify the content type for encrypted string?

Viewed 5263

My script returns an encrypted string but, by default, it's in text/html content type. Should I specify the content type to text/plain instead?

I know it does not harm anything, but what is the right content type for encrypted string?

Updated: string was encrypted using mcrypt_encrypt. There is no concern about security for this data.

1 Answers
Related