I have foud the bug??

Restlet is not suporting FORMS with enctype="multipart/form-data" .
Plain cfm does. If I remove the multipart data the FORM scope is
available.

+-------------+--
|         PUB | chingame
| COUNTRYCODE |
|         LAT |
|         LON |
|        TYPE | gob
|     ADDRESS | test
|       TITLE | sdsd
|        DESC | dfdfdfdf
|  FIELDNAMES | PUB,COUNTRYCODE,LAT,LON,TYPE,ADDRESS,TITLE,DESC
+-------------+--

On 1 abr, 00:49, David G Ortega <[email protected]> wrote:
> This is how the data is sent in the body
>
> POSThttp://localhost/api.cfc?method=postAd&__BDRETURNFORMAT=plain
> HTTP/1.1
> Host: localhost
> Connection: keep-alive
> Content-Length: 1260
> Cache-Control: max-age=0
> Origin:http://localhost
> User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.19 (KHTML,
> like Gecko) Chrome/18.0.1025.142 Safari/535.19
> Content-Type: multipart/form-data; boundary=----
> WebKitFormBoundaryfLoQnydWWOevXjpJ
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/
> *;q=0.8
> Referer:http://localhost/post.html
> Accept-Encoding: gzip,deflate,sdch
> Accept-Language: es-ES,es;q=0.8
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
>
> ------WebKitFormBoundaryfLoQnydWWOevXjpJ
> Content-Disposition: form-data; name="pub"
>
> chingame
> ------WebKitFormBoundaryfLoQnydWWOevXjpJ
> Content-Disposition: form-data; name="countryCode"
>
> ------WebKitFormBoundaryfLoQnydWWOevXjpJ
> Content-Disposition: form-data; name="lat"
>
> ------WebKitFormBoundaryfLoQnydWWOevXjpJ
> Content-Disposition: form-data; name="lon"
>
> ------WebKitFormBoundaryfLoQnydWWOevXjpJ
> Content-Disposition: form-data; name="lon"
>
> and more...

-- 
online documentation: http://openbd.org/manual/
   google+ hints/tips: https://plus.google.com/115990347459711259462
     http://groups.google.com/group/openbd?hl=en

Reply via email to