请求中缺少边界

时间:2018-09-10 13:35:32

标签: java http-post postman multipartform-data restlet

当我使用restlet发送请求时,它没有边界,但是当我与邮递员发送请求时,它没有边界。

POST http://localhost:9099/servlet/httpServlet HTTP/1.1
Date: Mon, 10 Sep 2018 10:18:28 GMT
Content-Type: multipart/form-data; boundary=12345; charset=UTF-8
Accept: */*
Accept-Encoding: gzip, deflate, zip, identity
User-Agent: Suite, Version dev-1.1.0.54
Authorization: Basic cm9vdDppbnViaXQ=
Cache-Control: no-cache
Pragma: no-cache
Host: localhost:9099
Connection: keep-alive
Transfer-Encoding: chunked

P*ލ d     /ţ/ܫ    }  ʗ   n  'Wb       3 S    S>  (     8vIl}  ( R b7+̨ wP7   ` ǃ6P! y h  |  ;( \  pP  @ qVʃ    e   x  #~   Bϻ  v   ? >L E*  jYe  {V sc  $  B  <W p )   )     Α  | MX {JY    =UV U  /  i l . dR'vQ Y  } K ;O  v ګ      PK     ! 'XB^      docProps/core.xml  (                                                                                                                                                                                                                                                                    _O 0  M  O   G  K . 8cF [  mD(  "  bf       9m  w Y_ UZ y  ,   F %Y     Ӭ    g!+   +$<ɢ SP !   EX   % X  T9F!LqSȜj  [\R A  }ם 4 TS   ' =  Y~ʬp !  V s<    s oC[( Tץɴ ;ds {  J{aUUN5jm ~[= ۨv*  b  3 $P] xM%5  ZSA uË }p⁲ Ռ* 2 I / S  
fr  2 I Py] $K  خo    ?#     {W' 3۝$  L x:  q   O      PK     !   v   h+  '   xl/printerSettings/printerSettings1.bin왽NA  { "
VV
  #Q   (jDb #b  h   ak } '   ; H  / sa n ew3     c  Q,  QÉ   akX   # m  H9  P1~   n.ټ3 k (    e`Ii Ue\ Qƙ  k iuWm gAN "   Jo Ѱ #     u Q Z AwU 2    85  6  _x-   s{     <  t ?I 2 b6  7^ AI`    p7p  @o]  %]   b!  DI1d  ]   JԬ Wd Ȗ g8ܡ #y  9*        @;f*  tyH RuW  _| " s  !'  
  ʦ] prfn   1 ݄  կ s   \  &ߋO   OT "v   Rkr    9$                      >      PK     !  6     4   docProps/app.xml  (                                                                                                                                                                                                                                                                    Mo 0    9   @V   r   v 3'ӱPY$ H  ' H l; F $^> $qw L c  ق-9  *Wk + c    "   8 ;bdw   
 c  1K6 % +Σj   He * 
PJÎ   
  wh    G  B[c} φlr\  Z ک />UG      t 2          O       A |^  D     <   4P6`"
~ aX t R  Q 
YԿ :oY 
"  !h  p  )c #   Kl)

提琴手的结果如上。

但是为什么会错过边界,需要做什么?

0 个答案:

没有答案