You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got a strange behaviour with the runserver_plus command:
sometimes django doesn't send back a response, despite my view function has actually generated a valid HttpResponse. Note that this error doesn't happen when using the standard runserver command.
In order to reproduce you can refer to the repository https://github.com/NINAnor/nina-catalogue and to it's setup instructions.
When everything is installed and the server is up and running, using curl or postman you can send a POST request to http://localhost:8000/csw/ with the following payload:
I've got a strange behaviour with the
runserver_plus
command:sometimes django doesn't send back a response, despite my view function has actually generated a valid
HttpResponse
. Note that this error doesn't happen when using the standard runserver command.In order to reproduce you can refer to the repository https://github.com/NINAnor/nina-catalogue and to it's setup instructions.
When everything is installed and the server is up and running, using curl or postman you can send a POST request to
http://localhost:8000/csw/
with the following payload:This will not return an answer, but from the logs you can actually see that the response has been generated.
You can change
runserver_plus
withrunserver
inside thedocker-compose.yml
file and try again, in this case everything works fine.The text was updated successfully, but these errors were encountered: