[Opera-users] File upload : It's a MIME boundary problem ... has
anyone worked on a workaround ?
Luís Góis
luisgois at netc.pt
Thu Jun 21 00:16:00 UTC 2001
When making a file upload to a database using a servlet I made (but using Jason Hunter's classes - www.servlets.com -
for handling multipart request stuff), I get the following error message and an Exception is raised by Jason's multipart
classes. What's happening here? It works perfectly with every browser I tested : IE5 ; IE5.5; Netscape 4.75 and
Netscape 6.0
"java.io.IOException: Separation boundary was not specified"
""
Parse error, missing : in oundary=_OPERAB__-
0uVNIgwsh2LCpAGCYlAdqC
Full POST /blobPut HTTP/1.1
User-Agent: Mozilla/5.0 (Windows 2000; U) Opera 5.11 [en]Host: gigarisssa:8080A
ccept: text/html, image/png, image/jpeg, image/gif, image/x-xbitmap, */*Accept-L
anguage: enAccept-Encoding: deflate, gzip, x-gzip, identity, *;q=0Referer: http:
//gigarisssa:8080/upload.htmlPragma: no-cacheCache-Control: no-cacheConnection:
Keep-Alive, TETE: deflate, gzip, chunked, identity, trailersContent-length: 4976
1Content-Type: multipart/form-data; boundary=_OPERAB__-0uVNIgwsh2LCpAGCYlAdqC
""
I've tested with Opera 5.11 and 5.0 final for Linux with no successs. Changing browser identification in connection
properties didn't work either, since it only changes the "User-Agent" header, right?
Could you give me some info about how to validate Opera boundary field so I can use this browser for file upload?
Thanks in advance
More information about the Opera-users
mailing list