‎2013 Aug 06 1:55 PM
Can anyone explain what this parameter BLANKSTOCRLF does on function module HTTP_POST.
I am trying to make a HTTP call from ECC5 using class cl_http_client but I am getting an error.
I make the call with HTTP_POST and it works okay when I set the BLANKSTOCRLF to 'X'.
When I don't set this parameter it fails in the same manner as my call using class CL_HTTP_CLIENT.
Can anyone explain what it does and can it be replicated in CL_HTTP_CLIENT ?
Thank you.
‎2013 Aug 20 11:34 AM
It turned out to be an incorrect content type on the HTTP call, nothing to do with BLANDSOCRLF.
‎2013 Aug 06 3:26 PM
I am answering without having real experience with this FM.
BLANKSTOCRLF means convert blanks or spaces to newlines (carriage return + line feed ).
http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_message
Above wikipedia link mentions that request line and headers must end with <CR><LF>.
EDIT: If you could post working example of HTTP_POST and non-working example of class, I can play around with it.
‎2013 Aug 20 11:34 AM
It turned out to be an incorrect content type on the HTTP call, nothing to do with BLANDSOCRLF.