@@ -50,20 +50,22 @@ public class OkHttpBuilderImpl implements HTTP.Builder {
5050
5151 public OkHttpBuilderImpl () {
5252 mediaTypes = new HashMap <>();
53- mediaTypes .put ("*" , "application/octet-stream" );
5453 mediaTypes .put ("png" , "image/png" );
5554 mediaTypes .put ("jpg" , "image/jpeg" );
5655 mediaTypes .put ("jpeg" , "image/jpeg" );
5756 mediaTypes .put ("wav" , "audio/wav" );
5857 mediaTypes .put ("mp3" , "audio/mp3" );
59- mediaTypes .put ("mp4" , "video/mpeg4 " );
58+ mediaTypes .put ("mp4" , "video/mp4 " );
6059 mediaTypes .put ("txt" , "text/plain" );
6160 mediaTypes .put ("xls" , "application/x-xls" );
61+ mediaTypes .put ("xlsx" , "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" );
6262 mediaTypes .put ("xml" , "text/xml" );
6363 mediaTypes .put ("apk" , "application/vnd.android.package-archive" );
6464 mediaTypes .put ("doc" , "application/msword" );
65- mediaTypes .put ("pdf " , "application/pdf " );
65+ mediaTypes .put ("docx " , "application/vnd.openxmlformats-officedocument.wordprocessingml.document " );
6666 mediaTypes .put ("html" , "text/html" );
67+ mediaTypes .put ("rar" , "application/x-rar" );
68+ mediaTypes .put ("jar" , "application/x-java-archive" );
6769 contentTypes = new ArrayList <>();
6870 contentTypes .add ("application/x-www-form-urlencoded; charset={charset}" );
6971 contentTypes .add ("application/json; charset={charset}" );
0 commit comments