Extra boundary data??
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
3c307d534a
commit
54802af1f9
@ -157,7 +157,7 @@ public class sigServer {
|
||||
}
|
||||
if (line.contains("Content-Type:")) {
|
||||
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());
|
||||
} else
|
||||
if (line.contains("application/json")){
|
||||
isApplication=true;
|
||||
|
||||
7
test.html
Normal file
7
test.html
Normal file
@ -0,0 +1,7 @@
|
||||
<form action="http://192.168.1.85:8080" method="post" enctype="multipart/form-data">
|
||||
<p><input type="text" name="text" value="text default">
|
||||
<p><input type="file" name="file1">
|
||||
<p><input type="file" name="file2">
|
||||
<p><button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user