Skip to content

Resolve "Getting EOF instead of the HTTP response"

Rochdi Khalid requested to merge 1-fix-eof-bug into main

Closes #1 (closed)

To fix the EOF bug, I stored the model in Django's local memory cache. I tested manually the bugfix in production, and I used the Python requests library to test the endpoint too. The REST API is working better than before, the free server might sleep every 15 minutes, and you will probably see the EOF bug again. But, if you reload the page again, the EOF bug is gone.

Merge request reports

Loading