hi,
I am getting this error when i upload photo server
I am sending photo by post with setting this request property
HttpConnection.setRequestProperty("Content-Type", "multipart/form-data; boundary=" + Defines.BOUNDARY);
-------RESPONSE FROM SERVER--------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>ERROR: The requested URL could not be retrieved</TITLE>
<STYLE type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
</HEAD><BODY>
ERROR
The requested URL could not be retrieved
<HR noshade size="1px">
While trying to retrieve the URL:
http://IP ADDRESS/~akhairnar/branches/wireless/api2/upload_photo.php
The following error was encountered:
*
Unsupported Request Method and Protocol
Squid does not support all request methods for all access protocols.
For example, you can not POST a Gopher request.
Your cache administrator is webmaster.
<HR noshade size="1px">
<ADDRESS>
Generated Tue, 13 Nov 2007 21:08:22 GMT by MUMSQUID1 (squid/2.6.STABLE12)
</ADDRESS>
</BODY></HTML>
------------------------------------------------------------------------------------
thanks in advance
R.PRasad

Reply With Quote


