Closed rousseldenis closed 4 years ago
As header Content-Type can contain options like charset and/or boundary as further arguments, test for application/json at the beginning of the string.
e.g. : 'Content-Type: application/json; charset=utf-8'
@sebastienbeau @lmignon @Cedric-Pigeon
That seems to be not sufficientUPDATE: this works perfectly
@did
As header Content-Type can contain options like charset and/or boundary as further arguments, test for application/json at the beginning of the string.
e.g. : 'Content-Type: application/json; charset=utf-8'