Unexpected request body when sending XML

Discussion in 'Ruby/Rails' started by Jon, Mar 29, 2008.

  1. Jon

    Jon New Member

    I have a Rails app with two parts. (1) A back end that is accessed from a web browser, and (2) a front end that is accessed by a wireless, mobile PC.

    The app works perfectly on the other servers I've tested it in. And also, the back end works fine under LiteSpeed.

    However, when I try to connect with the handheld, I get this message:

    "Status 400: Unexpected request body 592 bytes for request: <clipped...>"

    The handheld communicates with the server by sending XML in the request body, and it looks to me like the LiteSpeed server is rejecting the request because it recognizes it as having and invalid body (the XML). I have turned off everything I can find regarding request filtering.

    Any suggestions?

    Jon

Share This Page