|
|
@ -158,6 +158,7 @@ public class sigServer { |
|
|
|
if (line.contains("Content-Type:")) { |
|
|
|
if (line.contains("Content-Type:")) { |
|
|
|
if (line.contains("Content-Type: multipart/form-data; boundary=")) { |
|
|
|
if (line.contains("Content-Type: multipart/form-data; boundary=")) { |
|
|
|
boundary=line.substring("Content-Type: multipart/form-data; boundary=".length()); |
|
|
|
boundary=line.substring("Content-Type: multipart/form-data; boundary=".length()); |
|
|
|
|
|
|
|
System.out.println("Boundary set to "+boundary); |
|
|
|
} else |
|
|
|
} else |
|
|
|
if (line.contains("application/json")){ |
|
|
|
if (line.contains("application/json")){ |
|
|
|
isApplication=true; |
|
|
|
isApplication=true; |
|
|
|