Hey Spark Community,
I was recently using [Python’s requests module][1] to send data to my Spark Core and came upon inconsistencies in the response messages returned.
On sending a string that was too long, the request timed out and did not run on the Spark Core, but returned response code 200 as sketched out below:
string to be sent: "Rolene Strauss | Liverpool 4-0 Tottenham | Zipho | Lali EL ORGULLO ARGENTINO Esposito | Kim & Kanye | Vamos Werner | Unbeaten in 2014 | 1st Princess | Matlala | Coutinho 55"
Result:
Response [200]
{
"ok": false,
"error": "Timed out."
}
A similar result was received when I used curl except no error code was explicitly reported. Is this an error in the Cloud software?
[1]: http://docs.python-requests.org/en/latest/api/