[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Server response includes extra CRLF - how to strip them out?
All,
I'm using the�http_url_post_raw2() procedure and the server response
includes an extra CRLF..
The debug log shows:
SetError() #13: HTTP/1.1 200 OK
recvresp(): end with 200
recvdoc parms: identity 10
header_load_cookies() entered
recvdoc(): entered
SetError() #0:
0000003|2
http_close(): entered
Now I suppose I could simply subtract 1 from my returned data length...
� � � � �if retlen > 1;
� � � � � �http_xlate(retlen: retdata: TO_EBCDIC);
But if they ever get rid of the extra CRLF, I'd be in trouble. � Looking for recommendations on how to strip the CRLF..either in my
"Incoming" procedure or before/after the call to http_xlate().
Thanks!
Charles
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------