Closed creynders closed 10 years ago
Hiya,
I added the possibility to use a contentType header in your files to allow overriding the default content types of 'application/json' etc.
contentType
E.g.:
//! contentType: "application/vnd.custom+xml" <xml> <created>1</created> </xml>
The same restrictions as with statusCode apply:
statusCode
Hope you like it, I sure can use it.
Looks good thanks for this :+1: would be great if you could add something about in the readme as well (as well as yourself as a contributor if you like).
Ah yes, of course!
This looks good, thanks!
Hiya,
I added the possibility to use a
contentType
header in your files to allow overriding the default content types of 'application/json' etc.E.g.:
The same restrictions as with
statusCode
apply:Hope you like it, I sure can use it.