Bad request response

When I test the code from my localhost and others servers it works but in Jodohost the server response is : HTTP/1.1 400 Bad Request.

These are the headers the code sends:

POST /demo/admin/immagini_modelli/upload/b22399ukuh1mlvtnbht4jj6qj3?folder=/demo/admin/immagini_modelli/edit/&modelloId=8 HTTP/1.1 Accept: text/* Content-Type: multipart/form-data; boundary=----------ae0Ef1KM7ei4cH2ae0ae0GI3ei4Ef1 User-Agent: Shockwave Flash Host: www.ateliermatteo.com Content-Length: 82130 Connection: Keep-Alive Pragma: no-cache Cookie: CAKEPHP=encnlb57v59dna186pk4eih8l6

Any idea?

Please send us ticket with URL to check issue.

Your are using physical path. I would recommend you to use virtual path in place of physical path.

Manish,

I’m using a virtual path:
/demo/admin/immagini_modelli/upload/b22399ukuh1mlvtnbht4jj6qj3

The call is made by a flash program for multiple uploads (uploadify). I have others calls via post from jquery that are working without problem.

kawaldeep, I try to send a ticket, I have to extract this piece of code from a administration area.