@@ -117,7 +117,7 @@ private static Imp modifyImp(Imp imp) {
117117 throw new PreBidException ("Imp #%s must contain at least one valid format (banner, video, or native)"
118118 .formatted (imp .getId ()));
119119 }
120-
120+
121121 return imp .toBuilder ()
122122 .displaymanager (DISPLAY_MANAGER )
123123 .displaymanagerver (DISPLAY_MANAGER_VERSION )
@@ -131,7 +131,7 @@ private static Banner modifyBanner(Banner banner) {
131131 if (banner == null ) {
132132 return null ;
133133 }
134-
134+
135135 final Integer weight = banner .getW ();
136136 final Integer height = banner .getH ();
137137 final List <Format > format = banner .getFormat ();
@@ -149,7 +149,7 @@ private static Video modifyVideo(Video video) {
149149 if (video == null ) {
150150 return null ;
151151 }
152-
152+
153153 final Integer width = video .getW ();
154154 final Integer height = video .getH ();
155155 if (width == null || height == null || width == 0 || height == 0 ) {
@@ -163,9 +163,6 @@ private static Video modifyVideo(Video video) {
163163 if (video .getMaxduration () == null || video .getMaxduration () == 0 ) {
164164 videoBuilder .maxduration (120 );
165165 }
166- if (CollectionUtils .isEmpty (video .getMimes ())) {
167- videoBuilder .mimes (Collections .singletonList ("video/mp4" ));
168- }
169166 if (CollectionUtils .isEmpty (video .getProtocols ())) {
170167 videoBuilder .protocols (Collections .singletonList (3 ));
171168 }
@@ -208,7 +205,7 @@ private static MultiMap headers(BidRequest bidRequest) {
208205 final MultiMap headers = HttpUtil .headers ();
209206
210207 headers .add (HttpUtil .X_OPENRTB_VERSION_HEADER , "2.5" );
211- HttpUtil .addHeaderIfValueIsNotEmpty (headers , "Referer" , getReferer (bidRequest ));
208+ HttpUtil .addHeaderIfValueIsNotEmpty (headers , HttpUtil . REFERER_HEADER , getReferer (bidRequest ));
212209
213210 final Device device = bidRequest .getDevice ();
214211 if (device != null ) {
0 commit comments