Transport: When 'Accept' header is stripped - the migration process silently stops. #627
Labels
[Extension Manager]
[Type] Environmental bug
A corner case bug that's invoked in other software, and it should be resolved there.
When 'Accept' header is stripped - the migration process silently stops.
On our server we stripped the 'Accept' header from requests which caused the migration via the transport plugin to silently stop.
The server.class.php (in the transport-extention) determines it can't stream, because of the missing header, but the front-end still expects a stream-response. The backend sends a json response which the front-end can't handle which causes an error in the console: 'EventSource's response has a MIME type ("application/json") that is not "text/event-stream". Aborting the connection.'
Possible things to 'fix' this:
The text was updated successfully, but these errors were encountered: