Joined January 2015
·

Zihao Yu

New York, NY
·
·

Posted to Parsing Request Content in Finatra over 1 year ago

Great work! Really useful to me.

However there is one possible improvement. The Content-Type specification allows an extra parameter to be added after the MIME type part, for example "application/json; charset=UTF-8".

So your BodyParser should parse the value of Content-Type header, and pass only the part before ";" to construct ContentType.

Achievements
1 Karma
0 Total ProTip Views